[Groonga-mysql-commit] mroonga/mroonga at ceaf98a [master] mysql8.0: use build directory for plugin

Back to archive index
Kouhei Sutou null+****@clear*****
Sun May 19 00:12:02 JST 2019


Kouhei Sutou	2019-05-19 00:12:02 +0900 (Sun, 19 May 2019)

  Revision: ceaf98a6c67d3ed148d2de90eccf63accbb3adf3
  https://github.com/mroonga/mroonga/commit/ceaf98a6c67d3ed148d2de90eccf63accbb3adf3

  Message:
    mysql8.0: use build directory for plugin

  Modified files:
    test/run-sql-test.sh

  Modified: test/run-sql-test.sh (+9 -2)
===================================================================
--- test/run-sql-test.sh    2019-05-18 23:36:43 +0900 (63365ecf)
+++ test/run-sql-test.sh    2019-05-19 00:12:02 +0900 (4aa94c82)
@@ -1,7 +1,7 @@
 #!/bin/sh
 #
 # Copyright(C) 2010  Tetsuro IKEDA
-# Copyright(C) 2010-2018  Kouhei Sutou <kou****@clear*****>
+# Copyright(C) 2010-2019  Kouhei Sutou <kou****@clear*****>
 # Copyright(C) 2011  Kazuhiko
 #
 # This library is free software; you can redistribute it and/or
@@ -85,7 +85,14 @@ if [ "${mariadb}" = "yes" ]; then
 elif [ "${percona}" = "yes" ]; then
   plugins_dir="${MYSQL_SOURCE_DIR}/lib/mysql/plugin"
 else
-  plugins_dir="${MYSQL_SOURCE_DIR}/lib/plugin"
+  case ${MYSQL_VERSION} in
+    8.*)
+      plugins_dir="${MYSQL_BUILD_DIR}/lib/plugin"
+      ;;
+    *)
+      plugins_dir="${MYSQL_SOURCE_DIR}/lib/plugin"
+      ;;
+  esac
 fi
 
 same_link_p()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20190519/65a4784a/attachment.html>


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