diff options
author | Benjamin Reed <ranger@befunk.com> | 2006-09-13 17:43:31 +0000 |
---|---|---|
committer | Benjamin Reed <ranger@befunk.com> | 2006-09-13 17:43:31 +0000 |
commit | f9bb02581fca3849989b8088c6ea9d93ae2cd888 (patch) | |
tree | 1a8d2e5b7ee359bacbd580328341f2a009eebe8e | |
parent | 86f74e86a9374826bab70dc1d75542ef7bcf4e87 (diff) | |
download | extra-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.cmake | 4 |
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") |