summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@lindenlab.com>2008-06-04 20:18:45 +0000
committerBryan O'Sullivan <bos@lindenlab.com>2008-06-04 20:18:45 +0000
commitaaa86b2df3e6410a9d9666a9c0ff5ce57b651cdf (patch)
tree63705efe24f2c506c8c8c880a2f46bd496d57137 /indra/cmake
parent710ce27cb0d7707473304047ea671dcb019a847f (diff)
Fix incorrectly named linker variable
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/00-Common.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake
index e5900720b2..d12f8d9e59 100644
--- a/indra/cmake/00-Common.cmake
+++ b/indra/cmake/00-Common.cmake
@@ -155,7 +155,7 @@ endif (LINUX)
if (DARWIN)
add_definitions(-DLL_DARWIN=1)
- set(CMAKE_LD_FLAGS "-headerpad_max_install_names -search_paths_first")
+ set(CMAKE_CXX_LINK_FLAGS "-Wl,-headerpad_max_install_names,-search_paths_first")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mlong-branch")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mlong-branch")
endif (DARWIN)