meta-openembedded/meta-oe/recipes-support/mysql/mariadb-native_5.1.67.bb
Koen Kooi 0d4dac81c6 mariadb: move linker fix to .inc
When using a recent cross-binutils you need this fix as well, so move it from -native to the .inc.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-23 23:17:30 +01:00

21 lines
419 B
BlitzBasic

require mariadb_${PV}.inc
inherit native
PROVIDES += "mysql5-native"
DEPENDS = "ncurses-native zlib-native"
RDEPENDS_${PN} = ""
PACKAGES = ""
EXTRA_OEMAKE = ""
EXTRA_OECONF = " --with-embedded-server "
do_install() {
oe_runmake 'DESTDIR=${D}' install
mv -f ${D}${libdir}/mysql/* ${D}${libdir}
rmdir ${D}${libdir}/mysql
install -d ${D}${bindir}
install -m 0755 sql/gen_lex_hash ${D}${bindir}/
}