From 7c639f11a6a4bb0b194d97e9932310561e11df71 Mon Sep 17 00:00:00 2001
From: Rider Linden <none@none>
Date: Thu, 30 Apr 2015 14:52:20 -0700
Subject: [PATCH] Change link order

---
 indra/linux_crash_logger/CMakeLists.txt | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/indra/linux_crash_logger/CMakeLists.txt b/indra/linux_crash_logger/CMakeLists.txt
index 67b3ed109af..480a55a7095 100755
--- a/indra/linux_crash_logger/CMakeLists.txt
+++ b/indra/linux_crash_logger/CMakeLists.txt
@@ -56,12 +56,8 @@ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--as-needed")
 
 add_executable(linux-crash-logger ${linux_crash_logger_SOURCE_FILES})
 
-if (LINUX)	
-	# llcommon uses `clock_gettime' which is provided by librt on linux.
-	set(LIBRT_LIBRARY
-		rt
-	)
-endif (LINUX)
+# llcommon uses `clock_gettime' which is provided by librt on linux.
+set(LIBRT_LIBRARY rt)
 
 
 target_link_libraries(linux-crash-logger
@@ -72,8 +68,8 @@ target_link_libraries(linux-crash-logger
     ${LLVFS_LIBRARIES}
     ${LLMATH_LIBRARIES}
 	${LLCOREHTTP_LIBRARIES}
-    ${LLCOMMON_LIBRARIES}
 	${LIBRT_LIBRARY}
+    ${LLCOMMON_LIBRARIES}
 	${BOOST_CONTEXT_LIBRARY}
 	${BOOST_COROUTINE_LIBRARY}
     ${UI_LIBRARIES}
-- 
GitLab