mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-25 16:20:10 +00:00
build: Ensure bundled libraries are properly signed on macOS. (#6527)
This commit is contained in:
parent
7677ace5ea
commit
dc39eac916
@ -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 New Issue
Block a user