summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-12-27 11:43:47 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-12-27 17:36:11 +0900
commitff389e8123119423e95e32aa0e19a91c41268e74 (patch)
tree83d4a64f735a2a07d7774504f7219b158291bdb3
parent58e823a01350aadc01989fba9311adde99afcf8c (diff)
downloadk3b-ff389e8123119423e95e32aa0e19a91c41268e74.tar.gz
k3b-ff389e8123119423e95e32aa0e19a91c41268e74.zip
Replace dl linking with cmake-based variable
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 1771f54e32985f1fd4d6e56e18156d5db2fa9a63)
-rw-r--r--libk3b/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/libk3b/CMakeLists.txt b/libk3b/CMakeLists.txt
index 8f51d69..0f7dc6f 100644
--- a/libk3b/CMakeLists.txt
+++ b/libk3b/CMakeLists.txt
@@ -57,6 +57,6 @@ tde_add_library( k3b SHARED AUTOMOC
VERSION 3.0.0
EMBED k3bcore-static cddb-static k3bproject-static k3btools-static
jobs-static k3bplugin-static ${VIDEODVDRIP_LIBRARIES} ${SUBLIBRARIES}
- LINK dl tdeio-shared tdeui-shared k3bdevice-shared
+ LINK ${CMAKE_DL_LIBS} tdeio-shared tdeui-shared k3bdevice-shared
DESTINATION ${LIB_INSTALL_DIR}
)