summaryrefslogtreecommitdiff
path: root/indra/cmake/00-Common.cmake
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@lindenlab.com>2008-06-04 20:35:11 +0000
committerBryan O'Sullivan <bos@lindenlab.com>2008-06-04 20:35:11 +0000
commitc955963a3181be9e0fcdf34ea59d9d0c02dea162 (patch)
tree628f48b18ab28892a77bd62bf11f68d23d4924c2 /indra/cmake/00-Common.cmake
parentaaa86b2df3e6410a9d9666a9c0ff5ce57b651cdf (diff)
Wave a dead chicken over the mac linker
Diffstat (limited to 'indra/cmake/00-Common.cmake')
-rw-r--r--indra/cmake/00-Common.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake
index d12f8d9e59..6ffc054de2 100644
--- a/indra/cmake/00-Common.cmake
+++ b/indra/cmake/00-Common.cmake
@@ -156,6 +156,7 @@ endif (LINUX)
if (DARWIN)
add_definitions(-DLL_DARWIN=1)
set(CMAKE_CXX_LINK_FLAGS "-Wl,-headerpad_max_install_names,-search_paths_first")
+ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_CXX_LINK_FLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mlong-branch")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mlong-branch")
endif (DARWIN)