[Groonga-mysql-commit] mroonga/mroonga at 1f4b523 [master] Use pkglibdir instead of plugindir

Back to archive index

HAYASHI Kentaro null+****@clear*****
Thu May 2 19:43:44 JST 2013


HAYASHI Kentaro	2013-05-02 19:43:44 +0900 (Thu, 02 May 2013)

  New Revision: 1f4b5235ef5b2f901b76306b0d41fba12b437f5d
  https://github.com/mroonga/mroonga/commit/1f4b5235ef5b2f901b76306b0d41fba12b437f5d

  Message:
    Use pkglibdir instead of plugindir
    
    Because mysql/plugin directory under /usr/lib or /usr/lib64
    is not guranteed to exist.
    
    [groonga-dev,01335]
    
    Reported by WING. Thanks!!!
    Patch by yoku ts. Thanks!!!

  Modified files:
    configure.ac

  Modified: configure.ac (+2 -1)
===================================================================
--- configure.ac    2013-05-02 13:15:02 +0900 (a1326ee)
+++ configure.ac    2013-05-02 19:43:44 +0900 (b28db6e)
@@ -166,7 +166,8 @@ AC_DEFUN([CONFIG_OPTION_MYSQL],[
   MYSQL_MAJOR_MINOR_VERSION=["$(echo $MYSQL_VERSION | sed -e 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)$/\1.\2/')"]
   case "$MYSQL_MAJOR_MINOR_VERSION" in
   5.6*)
-      MYSQL_LIBS="-L$plugindir/.. -lmysqlservices"
+      pkglibdir="$($ac_mysql_config --variable=pkglibdir)"
+      MYSQL_LIBDIRMYSQL_LIBS="-L$pkglibdir -lmysqlservices"
       ;;
   *)
       MYSQL_LIBS=""
-------------- next part --------------
HTML����������������������������...
Download 



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