diff options
author | Fabio Rossi <rossi.f@inwind.it> | 2018-12-17 17:07:38 +0100 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-12-18 22:28:46 +0900 |
commit | ad65b874d01805eccb6071f31ae99f752d6ab979 (patch) | |
tree | 5749521881b7a5232ea8d693e848098045b2cbff | |
parent | 0ecfff93dc4bcdc233e937928049538c49dbd7af (diff) | |
download | arts-ad65b874d01805eccb6071f31ae99f752d6ab979.tar.gz arts-ad65b874d01805eccb6071f31ae99f752d6ab979.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 ad1a4874812aeb81f7a219e7d8ee6d9be3392d2a)
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7e355c1..b5399d6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -286,7 +286,7 @@ add_definitions( -DHAVE_CONFIG_H ) -set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" ) +set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" ) ##### project subdirectories #################### |