Kouhei Sutou
null+****@clear*****
Thu May 9 16:14:56 JST 2013
Kouhei Sutou 2013-05-09 16:14:56 +0900 (Thu, 09 May 2013) New Revision: 036d7cbe26cdff38049dfee6604605e84dff629a https://github.com/groonga/groonga/commit/036d7cbe26cdff38049dfee6604605e84dff629a Message: cmake: add missing library link flags for -lexecinfo and -lrt Modified files: CMakeLists.txt lib/CMakeLists.txt Modified: CMakeLists.txt (+4 -0) =================================================================== --- CMakeLists.txt 2013-05-09 15:10:07 +0900 (1fdfc81) +++ CMakeLists.txt 2013-05-09 16:14:56 +0900 (40b6e45) @@ -126,6 +126,10 @@ if(HAVE_LIBEXECINFO) else() ac_check_funcs(backtrace) endif() +ac_check_lib(rt clock_gettime) +if(HAVE_LIBRT) + set(HAVE_CLOCK_GETTIME TRUE) +endif() if(UNIX) ac_check_headers(pthread.h) Modified: lib/CMakeLists.txt (+2 -0) =================================================================== --- lib/CMakeLists.txt 2013-05-09 15:10:07 +0900 (a39a7e1) +++ lib/CMakeLists.txt 2013-05-09 16:14:56 +0900 (303c7ed) @@ -33,6 +33,8 @@ if(GRN_WITH_STATIC) set_target_properties(libgroonga_static PROPERTIES OUTPUT_NAME "groonga") endif() target_link_libraries(libgroonga + ${EXECINFO_LIBS} + ${RT_LIBS} ${PTHREAD_LIBS} ${Z_LIBS} ${LZO2_LIBS} -------------- next part -------------- HTML����������������������������... Download