From a9cb144101d0c7d868fd0c07397db519a21916b1 Mon Sep 17 00:00:00 2001 From: sakertooth Date: Fri, 8 Sep 2023 11:28:43 -0400 Subject: [PATCH] Remove -no-undefined flag for cmt and veal libraries --- plugins/LadspaEffect/calf/CMakeLists.txt | 2 +- plugins/LadspaEffect/cmt/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/LadspaEffect/calf/CMakeLists.txt b/plugins/LadspaEffect/calf/CMakeLists.txt index c03e2e573c5..0c9cd8fa96e 100644 --- a/plugins/LadspaEffect/calf/CMakeLists.txt +++ b/plugins/LadspaEffect/calf/CMakeLists.txt @@ -50,5 +50,5 @@ if(LMMS_BUILD_WIN32) ) endif() IF(NOT LMMS_BUILD_APPLE AND NOT LMMS_BUILD_OPENBSD) - target_link_libraries(veal PRIVATE -shared -Wl,-no-undefined) + target_link_libraries(veal PRIVATE -shared) ENDIF() diff --git a/plugins/LadspaEffect/cmt/CMakeLists.txt b/plugins/LadspaEffect/cmt/CMakeLists.txt index d2ee30fa9a3..75dba319d6c 100644 --- a/plugins/LadspaEffect/cmt/CMakeLists.txt +++ b/plugins/LadspaEffect/cmt/CMakeLists.txt @@ -22,6 +22,6 @@ if(NOT LMMS_BUILD_WIN32) endif() IF(NOT LMMS_BUILD_APPLE AND NOT LMMS_BUILD_OPENBSD) - target_link_libraries(cmt -shared -Wl,-no-undefined) + target_link_libraries(cmt PRIVATE -shared) ENDIF()