diff --git a/CMakeLists.txt b/CMakeLists.txt index 52e9e6a6..581fa4d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -871,7 +871,6 @@ endif() set (LIB_VERSION ${HS_VERSION}) set (LIB_SOVERSION ${HS_MAJOR_VERSION}) -add_link_options(-Wl,--as-needed) if (NOT FAT_RUNTIME) set(hs_exec_SRCS ${hs_exec_SRCS} ${hs_exec_common_SRCS})