build: macos: replace bind_at_load with fixup_chains

This commit is contained in:
tobtoht 2024-12-20 14:50:58 +01:00
parent f423059b30
commit 6ed5ed23a5
No known key found for this signature in database
GPG key ID: E45B10DD027D2472

View file

@ -224,7 +224,7 @@ endif()
# linker
if (APPLE)
add_linker_flag_if_supported(-Wl,-bind_at_load LD_SECURITY_FLAGS)
add_linker_flag_if_supported(-Wl,-fixup_chains LD_SECURITY_FLAGS)
add_linker_flag_if_supported(-Wl,-dead_strip LD_SECURITY_FLAGS)
add_linker_flag_if_supported(-Wl,-dead_strip_dylibs LD_SECURITY_FLAGS)
endif()