summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Rossi <rossi.f@inwind.it>2018-12-17 17:07:37 +0100
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2018-12-18 14:43:14 +0000
commitab1673d8bac982efe624253525ee04f26c68c1e6 (patch)
tree9af9ac09ccdc9da7238a7b97c6df2e917965492a
parentf3c4c58e48c1baee2f01733111c7bff851c81b43 (diff)
downloadamarok-ab1673d8bac982efe624253525ee04f26c68c1e6.tar.gz
amarok-ab1673d8bac982efe624253525ee04f26c68c1e6.zip
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6080c379..f8138591 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -77,8 +77,8 @@ add_definitions(
)
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
-set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
-set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
+set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
+set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" )
##### source directories ########################