aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory M. Tuner <gmt@be-evil.net>2013-12-03 01:55:34 -0800
committerGregory M. Tuner <gmt@be-evil.net>2013-12-03 01:55:34 -0800
commitb03f68b472ca73cde553ee5c437807457b8b0d22 (patch)
tree1c3c51908053ae51c60e16f9370ee6057140e73d /eclass/mysql-cmake-multilib.eclass
parentmysql-cmake-multilib: fallback mechanism for mysql-cmake-multilib_disable_tes... (diff)
downloadgmt-b03f68b472ca73cde553ee5c437807457b8b0d22.tar.gz
gmt-b03f68b472ca73cde553ee5c437807457b8b0d22.tar.bz2
gmt-b03f68b472ca73cde553ee5c437807457b8b0d22.zip
eclass/mysql-cmake-multilib: add -DMYSQL_UNIX_ADDR to minimal configuration
When MYSQL_UNIX_ADDR is not explicitly provided, it falls back to a default in /tmp; this is reflected in /usr/include/mysql/mysql_version.h, and leads to a header conflict between the native ABI and non-native ABI's when the minimal useflag is not set. Therefore, we duplicate the setting in the minimal configuration. Signed-off-by: Gregory M. Tuner <gmt@be-evil.net>
Diffstat (limited to 'eclass/mysql-cmake-multilib.eclass')
-rw-r--r--eclass/mysql-cmake-multilib.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/mysql-cmake-multilib.eclass b/eclass/mysql-cmake-multilib.eclass
index b3e8220..10d1353 100644
--- a/eclass/mysql-cmake-multilib.eclass
+++ b/eclass/mysql-cmake-multilib.eclass
@@ -127,6 +127,7 @@ configure_cmake_minimal() {
-DWITHOUT_MYISAM_STORAGE_ENGINE=1
-DWITHOUT_PARTITION_STORAGE_ENGINE=1
-DWITHOUT_INNOBASE_STORAGE_ENGINE=1
+ -DMYSQL_UNIX_ADDR=${EPREFIX}/var/run/mysqld/mysqld.sock
)
}