From 55f90728bf172208729403e8c19a440a01ab0077 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sat, 12 Feb 2022 13:36:00 +0100 Subject: [PATCH] Remove explicit bfd and dl links --- CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d4bbfd7..37ca19c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")