summaryrefslogtreecommitdiff
path: root/indra/cmake/LLPathingLib.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/LLPathingLib.cmake')
-rw-r--r--indra/cmake/LLPathingLib.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/cmake/LLPathingLib.cmake b/indra/cmake/LLPathingLib.cmake
index c108b33e8c..8e622d83db 100644
--- a/indra/cmake/LLPathingLib.cmake
+++ b/indra/cmake/LLPathingLib.cmake
@@ -16,3 +16,8 @@ set(LLPATHING_LIBRARIES
debug ${LL_PATHING_DEBUG_LIB}
optimized ${LL_PATHING_RELEASE_LIB}
)
+
+if (LINUX)
+ list(INSERT LLPATHING_LIBRARIES 0 -Wl,--start-group)
+ list(APPEND LLPATHING_LIBRARIES -Wl,--end-group)
+endif (LINUX)