]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
build: macos: replace bind_at_load with fixup_chains
authortobtoht <tob@featherwallet.org>
Fri, 20 Dec 2024 13:50:58 +0000 (14:50 +0100)
committertobtoht <tob@featherwallet.org>
Fri, 20 Dec 2024 13:50:58 +0000 (14:50 +0100)
CMakeLists.txt

index 198266404cf6143ac3beaf428c5cd28ae2b29a60..fe0944a8febcbe7f2ca89e51ec0a1e84661559c2 100644 (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()