Remove explicit bfd and dl links
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build is failing Details

This commit is contained in:
Deukhoofd 2022-02-12 13:36:00 +01:00
parent 8522b93b7f
commit 55f90728bf
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 0 additions and 4 deletions

View File

@ -197,10 +197,6 @@ if (WINDOWS)
set(_TESTLINKS ${_TESTLINKS} -Wl,-Bstatic -lws2_32 -Wl,-Bdynamic) set(_TESTLINKS ${_TESTLINKS} -Wl,-Bstatic -lws2_32 -Wl,-Bdynamic)
endif (WINDOWS) endif (WINDOWS)
if (NOT WINDOWS)
set(_LINKS -lbfd -ldl ${_LINKS})
endif ()
if (STATICC) if (STATICC)
set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed") set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed")
message(STATUS "Linking C library statically") message(STATUS "Linking C library statically")