diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-10-21 09:57:41 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-24 14:28:18 +0100 |
commit | 1cd0967672b1a82acb30baaf23eb1cbd2b2e4c67 (patch) | |
tree | 8c432ced7a5153929eb728f1a7f10aa946682150 /meta | |
parent | 82b08e04a3f8970e054921075d378e6ba401f63d (diff) | |
download | openembedded-core-1cd0967672b1a82acb30baaf23eb1cbd2b2e4c67.tar.gz openembedded-core-1cd0967672b1a82acb30baaf23eb1cbd2b2e4c67.tar.bz2 openembedded-core-1cd0967672b1a82acb30baaf23eb1cbd2b2e4c67.tar.xz openembedded-core-1cd0967672b1a82acb30baaf23eb1cbd2b2e4c67.zip |
apr-util: add native support
* needed for native subversion
* do_configure_append_virtclass-native is needed, because apr_builddir points to
/OE/shr-core/tmp/sysroots/x86_64-linux/usr/share/build-1
and we're not installing libtool from apr there
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/apr/apr-util_1.3.12.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-support/apr/apr-util_1.3.12.bb b/meta/recipes-support/apr/apr-util_1.3.12.bb index 800e67e4c..0064c5155 100644 --- a/meta/recipes-support/apr/apr-util_1.3.12.bb +++ b/meta/recipes-support/apr/apr-util_1.3.12.bb @@ -3,6 +3,8 @@ HOMEPAGE = "http://apr.apache.org/" SECTION = "libs" DEPENDS = "apr expat gdbm" +BBCLASSEXTEND = "native" + LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=519e0a18e03f7c023070568c14b077bb \ file://include/apu_version.h;endline=17;md5=806685a84e71f10c80144c48eb35df42" @@ -33,6 +35,12 @@ OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'" do_configure_prepend() { cp ${STAGING_DATADIR}/apr/apr_rules.mk ${S}/build/rules.mk } +do_configure_prepend_virtclass-native() { + cp ${STAGING_DATADIR_NATIVE}/apr/apr_rules.mk ${S}/build/rules.mk +} +do_configure_append_virtclass-native() { + sed -i "s#LIBTOOL=\$(SHELL) \$(apr_builddir)#LIBTOOL=\$(SHELL) ${STAGING_BINDIR_NATIVE}#" ${S}/build/rules.mk +} FILES_${PN} += "${libdir}/apr-util-1/apr_dbm_gdbm-1.so" FILES_${PN}-dev += "${libdir}/aprutil.exp ${libdir}/apr-util-1/apr_dbm_gdbm.*" |