[Groonga-commit] groonga/groonga at 6c85bf2 [master] functions/number: link to libm

Back to archive index

Kouhei Sutou null+****@clear*****
Thu May 5 20:57:35 JST 2016


Kouhei Sutou	2016-05-05 20:57:35 +0900 (Thu, 05 May 2016)

  New Revision: 6c85bf22f4e3acf9a81a9ef2b1f569320525318a
  https://github.com/groonga/groonga/commit/6c85bf22f4e3acf9a81a9ef2b1f569320525318a

  Message:
    functions/number: link to libm

  Modified files:
    plugins/functions/CMakeLists.txt
    plugins/functions/Makefile.am

  Modified: plugins/functions/CMakeLists.txt (+1 -1)
===================================================================
--- plugins/functions/CMakeLists.txt    2016-05-05 20:55:18 +0900 (031b902)
+++ plugins/functions/CMakeLists.txt    2016-05-05 20:57:35 +0900 (c5644c5)
@@ -77,4 +77,4 @@ else()
     OUTPUT_NAME "number")
   install(TARGETS number_functions DESTINATION "${GRN_FUNCTIONS_PLUGIN_DIR}")
 endif()
-target_link_libraries(number_functions libgroonga)
+target_link_libraries(number_functions libgroonga m)

  Modified: plugins/functions/Makefile.am (+2 -0)
===================================================================
--- plugins/functions/Makefile.am    2016-05-05 20:55:18 +0900 (f385ce5)
+++ plugins/functions/Makefile.am    2016-05-05 20:57:35 +0900 (888e36d)
@@ -22,3 +22,5 @@ function_plugins_LTLIBRARIES += number.la
 include vector_sources.am
 include string_sources.am
 include number_sources.am
+
+number_la_LIBADD = -lm
-------------- next part --------------
HTML����������������������������...
다운로드 



More information about the Groonga-commit mailing list
Back to archive index