mirror of
https://github.com/PabloMK7/citra
synced 2024-11-15 05:08:23 +00:00
build: Ensure bundled libraries are properly signed on macOS. (#6527)
This commit is contained in:
parent
7677ace5ea
commit
dc39eac916
1 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,10 @@ if ("${TYPE}" STREQUAL "qt")
|
|||
|
||||
find_program(MACDEPLOYQT_EXECUTABLE macdeployqt)
|
||||
execute_process(COMMAND ${MACDEPLOYQT_EXECUTABLE} ${bundle_dir} -executable=${EXECUTABLE_PATH} -always-overwrite)
|
||||
|
||||
# Bundling libraries can rewrite path information and break code signatures of system libraries.
|
||||
# Perform an ad-hoc re-signing on the whole app bundle to fix this.
|
||||
execute_process(COMMAND codesign --deep -fs - ${bundle_dir})
|
||||
else()
|
||||
message(FATAL_ERROR "Unsupported OS for Qt-based library bundling.")
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue