diff options
author | Fabio Rossi <rossi.f@inwind.it> | 2018-12-17 17:07:37 +0100 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-12-18 23:44:53 +0900 |
commit | 551feef9c25ec3d89cd01c1a46686cbc4ceb8cc8 (patch) | |
tree | d052a16eec83d12f6bca262829a0b009eda8dd12 | |
parent | 533f95a0a92a7f8b469ee0ef9d9d0b243c2feb9b (diff) | |
download | amarok-551feef9c25ec3d89cd01c1a46686cbc4ceb8cc8.tar.gz amarok-551feef9c25ec3d89cd01c1a46686cbc4ceb8cc8.zip |
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
(cherry picked from commit ab1673d8bac982efe624253525ee04f26c68c1e6)
-rw-r--r-- | CMakeLists.txt | 4 |
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 ######################## |