From 710ce27cb0d7707473304047ea671dcb019a847f Mon Sep 17 00:00:00 2001
From: Bryan O'Sullivan <bos@lindenlab.com>
Date: Wed, 4 Jun 2008 19:40:54 +0000
Subject: [PATCH] Pick up our libraries on Darwin.

---
 indra/cmake/00-Common.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake
index 58f06075a8..e5900720b2 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")
+  set(CMAKE_LD_FLAGS "-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)
-- 
GitLab