[Groonga-commit] groonga/groonga-normalizer-mysql at 20c4d2b [master] cmake: build position independent code for embedded build

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Mar 24 23:30:08 JST 2015


Kouhei Sutou	2015-03-24 23:30:08 +0900 (Tue, 24 Mar 2015)

  New Revision: 20c4d2b510136e0544dfd8e539811ea48dbf1055
  https://github.com/groonga/groonga-normalizer-mysql/commit/20c4d2b510136e0544dfd8e539811ea48dbf1055

  Message:
    cmake: build position independent code for embedded build

  Modified files:
    normalizers/CMakeLists.txt

  Modified: normalizers/CMakeLists.txt (+4 -0)
===================================================================
--- normalizers/CMakeLists.txt    2015-03-24 23:19:49 +0900 (81b2b96)
+++ normalizers/CMakeLists.txt    2015-03-24 23:30:08 +0900 (8d79558)
@@ -21,6 +21,10 @@ if(GROONGA_NORMALIZER_MYSQL_EMBED)
   add_library(mysql_normalizer STATIC ${MYSQL_SOURCES})
   set_property(TARGET mysql_normalizer APPEND PROPERTY
     COMPILE_DEFINITIONS "GROONGA_NORMALIZER_MYSQL_EMBED")
+  set_target_properties(
+    mysql_normalizer
+    PROPERTIES
+    POSITION_INDEPENDENT_CODE ON)
 else()
   add_library(mysql_normalizer MODULE ${MYSQL_SOURCES})
   set_target_properties(mysql_normalizer PROPERTIES
-------------- next part --------------
HTML����������������������������...
Download 



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