summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-support/mysql/mariadb.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/mysql/mariadb.inc b/meta-oe/recipes-support/mysql/mariadb.inc
index e7e280522..955402a58 100644
--- a/meta-oe/recipes-support/mysql/mariadb.inc
+++ b/meta-oe/recipes-support/mysql/mariadb.inc
@@ -43,6 +43,7 @@ PACKAGECONFIG_class-native = ""
43PACKAGECONFIG[pam] = ",-DWITHOUT_AUTH_PAM=TRUE,libpam" 43PACKAGECONFIG[pam] = ",-DWITHOUT_AUTH_PAM=TRUE,libpam"
44PACKAGECONFIG[valgrind] = "-DWITH_VALGRIND=TRUE,-DWITHOUT_VALGRIND=TRUE,valgrind" 44PACKAGECONFIG[valgrind] = "-DWITH_VALGRIND=TRUE,-DWITHOUT_VALGRIND=TRUE,valgrind"
45PACKAGECONFIG[libedit] = "-DLIBEDIT_INTERFACE=TRUE,-DLIBEDIT_INTERFACE=FALSE,libedit" 45PACKAGECONFIG[libedit] = "-DLIBEDIT_INTERFACE=TRUE,-DLIBEDIT_INTERFACE=FALSE,libedit"
46PACKAGECONFIG[krb5] = ", ,krb5"
46 47
47# MariaDB doesn't link properly with gold 48# MariaDB doesn't link properly with gold
48# https://mariadb.atlassian.net/browse/MDEV-5982 49# https://mariadb.atlassian.net/browse/MDEV-5982
@@ -85,6 +86,14 @@ do_compile_prepend_class-target () {
85 # and since we're cross-compiling that is disabled 86 # and since we're cross-compiling that is disabled
86 cp ${STAGING_BINDIR_NATIVE}/comp_err ${S}/extra 87 cp ${STAGING_BINDIR_NATIVE}/comp_err ${S}/extra
87 cp ${STAGING_BINDIR_NATIVE}/comp_sql ${S}/scripts 88 cp ${STAGING_BINDIR_NATIVE}/comp_sql ${S}/scripts
89
90 if [ "${@bb.utils.contains('PACKAGECONFIG', 'krb5', 'yes', 'no', d)}" = "no" ]; then
91 mkdir ${B}/include/openssl
92 echo "#ifndef KSSL_H" >${B}/include/openssl/kssl.h
93 echo "#define KSSL_H" >>${B}/include/openssl/kssl.h
94 echo "#include <openssl/opensslconf.h>">>${B}/include/openssl/kssl.h
95 echo "#endif" >>${B}/include/openssl/kssl.h
96 fi
88} 97}
89 98
90SYSROOT_PREPROCESS_FUNCS += "mariadb_sysroot_preprocess" 99SYSROOT_PREPROCESS_FUNCS += "mariadb_sysroot_preprocess"