From f9bb02581fca3849989b8088c6ea9d93ae2cd888 Mon Sep 17 00:00:00 2001 From: Benjamin Reed Date: Wed, 13 Sep 2006 17:43:31 +0000 Subject: otherwise $LDFLAGS is ignored svn path=/trunk/KDE/kdelibs/; revision=583870 --- modules/FindKDE4Internal.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') 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") -- cgit v1.2.1