[Pkg-running-devel] [antpm] 22/41: link rt for e.g. clocl_gettime

Kristof Ralovich ralovich-guest at moszumanska.debian.org
Tue Feb 23 21:46:45 UTC 2016


This is an automated email from the git hooks/post-receive script.

ralovich-guest pushed a commit to branch upstream
in repository antpm.

commit afc0660e37dd79778e99eb01c6a44c8426b0dfb5
Author: RALOVICH, Kristof <tade60 at freemail.hu>
Date:   Sat Oct 10 16:51:26 2015 +0200

    link rt for e.g. clocl_gettime
    
    /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libboost_thread.a(thread.o): In function `boost::this_thread::hiden::sleep_until(timespec const&)':
    (.text+0x1602): undefined reference to `clock_gettime'
---
 src/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2242a93..1dc29e8 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -120,7 +120,7 @@ IF(NOT WIN32)
     SerialTty.hpp SerialTty.cpp
 	  )
   SET(Boost_THREAD_LIBRARY "${Boost_THREAD_LIBRARY};pthread")
-  SET(MY_ANTPM_LIBRARIES "stdc++")
+  SET(MY_ANTPM_LIBRARIES "stdc++;rt")
 ENDIF()
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-running/antpm.git



More information about the Pkg-running-devel mailing list