Skip to content

Commit

Permalink
Drop -Wl,--exclude-libs,ALL
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Oct 16, 2024
1 parent 6ad089b commit 8381bdc
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 @@ -523,7 +523,7 @@ endif()

if(REDUCE_EXPORTS)
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
try_append_linker_flag("-Wl,--exclude-libs,ALL" TARGET core_interface)
# try_append_linker_flag("-Wl,--exclude-libs,ALL" TARGET core_interface)
try_append_linker_flag("-Wl,-no_exported_symbols" VAR CMAKE_EXE_LINKER_FLAGS)
endif()

Expand Down

0 comments on commit 8381bdc

Please sign in to comment.