summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2015-12-18 08:52:39 -0800
committerRider Linden <rider@lindenlab.com>2015-12-18 08:52:39 -0800
commit9210dcb328b26d28dfbd703cf651de2e7d0ba898 (patch)
treef2e53bc930a152a9e94f0a601827eaf9d4b2991e
parent4e8edebe13de9d638f1236bfd6aeddadf508de38 (diff)
Reorder the rt library for Linux build
-rwxr-xr-xindra/cmake/LLCommon.cmake6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/cmake/LLCommon.cmake b/indra/cmake/LLCommon.cmake
index 93b056fcb7..b50b4bcdb2 100755
--- a/indra/cmake/LLCommon.cmake
+++ b/indra/cmake/LLCommon.cmake
@@ -19,11 +19,13 @@ if (LINUX)
# In order to support using ld.gold on linux, we need to explicitely
# specify all libraries that llcommon uses.
# llcommon uses `clock_gettime' which is provided by librt on linux.
- set(LLCOMMON_LIBRARIES llcommon rt
+ set(LLCOMMON_LIBRARIES llcommon
${BOOST_COROUTINE_LIBRARY}
${BOOST_CONTEXT_LIBRARY}
${BOOST_THREAD_LIBRARY}
- ${BOOST_SYSTEM_LIBRARY} )
+ ${BOOST_SYSTEM_LIBRARY}
+ rt
+ )
else (LINUX)
set(LLCOMMON_LIBRARIES llcommon
${BOOST_COROUTINE_LIBRARY}