Skip to content

Commit

Permalink
build: macos: replace bind_at_load with fixup_chains
Browse files Browse the repository at this point in the history
  • Loading branch information
tobtoht committed Dec 20, 2024
1 parent f423059 commit 6ed5ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 6ed5ed2

Please sign in to comment.