Remove explicit bfd and dl links
This commit is contained in:
parent
8522b93b7f
commit
55f90728bf
|
@ -197,10 +197,6 @@ if (WINDOWS)
|
|||
set(_TESTLINKS ${_TESTLINKS} -Wl,-Bstatic -lws2_32 -Wl,-Bdynamic)
|
||||
endif (WINDOWS)
|
||||
|
||||
if (NOT WINDOWS)
|
||||
set(_LINKS -lbfd -ldl ${_LINKS})
|
||||
endif ()
|
||||
|
||||
if (STATICC)
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed")
|
||||
message(STATUS "Linking C library statically")
|
||||
|
|
Loading…
Reference in New Issue