commit 27c2de7efd350933dc4f24645fdc76899b18400f
parent 51e94bec611bba6aa7195b6e2387239f2e97f41e
Author: fundamental <mark.d.mccurry@gmail.com>
Date: Fri, 9 Jun 2023 21:02:40 -0400
Remove --no-as-needed flag
This flag broke the build on Clang and is a workaround for a no longer
relevant version of gcc.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Tests/CMakeLists.txt b/src/Tests/CMakeLists.txt
@@ -16,7 +16,7 @@ add_definitions(-DSOURCE_DIR="${CMAKE_CURRENT_SOURCE_DIR}")
#Extra libraries added to make test and full compilation use the same library
#links for quirky compilers
set(test_lib zynaddsubfx_core ${GUI_LIBRARIES} ${ZLIB_LIBRARY} ${FFTW3F_LIBRARIES}
- ${MXML_LIBRARIES} pthread "-Wl,--no-as-needed -lpthread")
+ ${MXML_LIBRARIES} pthread )
message(STATUS "Linking tests with: ${test_lib}")