From bd8c27249fec77d4ade4bd6ddfeb242284f75b1c Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sun, 31 Dec 2017 20:02:49 +0000 Subject: [PATCH] Using the cmake variable will insure the proper value regardless of the platform (already available in 2.0.7 version) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 262930bee53..858e310c178 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -381,7 +381,7 @@ IF(WANT_JACK) SET(STATUS_JACK "OK (weak linking enabled)") SET(JACK_INCLUDE_DIRS "") # use dlsym instead - SET(JACK_LIBRARIES "dl") + SET(JACK_LIBRARIES ${CMAKE_DL_LIBS}) ELSE() SET(STATUS_JACK "OK") ENDIF()