Skip to content

Commit

Permalink
Use LINKER instread of -wl,
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Maynard <[email protected]>
  • Loading branch information
madsbk and robertmaynard authored Nov 4, 2024
1 parent 73a8eb9 commit a267d30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ add_library(kvikio ${SOURCES})
# dependency OpenSSL, we exclude them when building libkvikio.so. This way, libkvikio.so will not
# expose any OpenSSL symbols that could conflict with downstream users like CPython that also links
# to (another version of) OpenSSL.
target_link_options(kvikio PRIVATE "-Wl,--exclude-libs,ALL")
target_link_options(kvikio PRIVATE "LINKER:--exclude-libs,ALL")

add_library(kvikio::kvikio ALIAS kvikio)

Expand Down

0 comments on commit a267d30

Please sign in to comment.