aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Reed <ranger@befunk.com>2006-09-13 17:43:31 +0000
committerBenjamin Reed <ranger@befunk.com>2006-09-13 17:43:31 +0000
commitf9bb02581fca3849989b8088c6ea9d93ae2cd888 (patch)
tree1a8d2e5b7ee359bacbd580328341f2a009eebe8e
parent86f74e86a9374826bab70dc1d75542ef7bcf4e87 (diff)
downloadextra-cmake-modules-f9bb02581fca3849989b8088c6ea9d93ae2cd888.tar.gz
extra-cmake-modules-f9bb02581fca3849989b8088c6ea9d93ae2cd888.tar.bz2
otherwise $LDFLAGS is ignored
svn path=/trunk/KDE/kdelibs/; revision=583870
-rw-r--r--modules/FindKDE4Internal.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake
index e16c0980..6d57e6ac 100644
--- a/modules/FindKDE4Internal.cmake
+++ b/modules/FindKDE4Internal.cmake
@@ -542,8 +542,8 @@ if (APPLE)
# this is bad, but unavoidable until there is the equivalent of libtool -no-undefined implemented
# or perhaps it already is, and I just don't know where to look ;)
- set (CMAKE_SHARED_LINKER_FLAGS "-single_module -multiply_defined suppress")
- set (CMAKE_MODULE_LINKER_FLAGS "-multiply_defined suppress")
+ set (CMAKE_SHARED_LINKER_FLAGS "-single_module -multiply_defined suppress ${CMAKE_SHARED_LINKER_FLAGS}")
+ set (CMAKE_MODULE_LINKER_FLAGS "-multiply_defined suppress ${CMAKE_MODULE_LINKER_FLAGS}")
#set(CMAKE_SHARED_LINKER_FLAGS "-single_module -undefined dynamic_lookup -multiply_defined suppress")
#set(CMAKE_MODULE_LINKER_FLAGS "-undefined dynamic_lookup -multiply_defined suppress")