mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-18 05:01:58 +02:00
* unlike BBCLASSEXTENDed native support, dependencies in mariadb-native don't get automatic -native suffix, so mariadb-native was depending on target ncurses and zlib. * move the dependency from .inc and apply it with right suffix Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
24 lines
471 B
BlitzBasic
24 lines
471 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 "
|
|
|
|
SRC_URI += "file://fix-link-error-ub1310.patch \
|
|
"
|
|
|
|
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}/
|
|
}
|
|
|