Reorder the rt library for Linux build
parent
4e8edebe13
commit
9210dcb328
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in New Issue