summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/apr/apr_1.5.2.bb9
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/recipes-support/apr/apr_1.5.2.bb b/meta/recipes-support/apr/apr_1.5.2.bb
index c1f7f380ed..e12a17625f 100644
--- a/meta/recipes-support/apr/apr_1.5.2.bb
+++ b/meta/recipes-support/apr/apr_1.5.2.bb
@@ -55,7 +55,13 @@ do_configure_append() {
55do_install_append() { 55do_install_append() {
56 oe_multilib_header apr.h 56 oe_multilib_header apr.h
57 install -d ${D}${datadir}/apr 57 install -d ${D}${datadir}/apr
58 cp ${S}/${HOST_SYS}-libtool ${D}${datadir}/build-1/libtool 58}
59
60do_install_append_class-target() {
61 sed -i -e 's,${STAGING_DIR_HOST},,g' ${D}${datadir}/build-1/apr_rules.mk
62 sed -i -e 's,${STAGING_DIR_HOST},,g' \
63 -e 's,APR_SOURCE_DIR=.*,APR_SOURCE_DIR=,g' \
64 -e 's,APR_BUILD_DIR=.*,APR_BUILD_DIR=,g' ${D}${bindir}/apr-1-config
59} 65}
60 66
61SSTATE_SCAN_FILES += "apr_rules.mk libtool" 67SSTATE_SCAN_FILES += "apr_rules.mk libtool"
@@ -73,6 +79,7 @@ apr_sysroot_preprocess () {
73 cp ${S}/build/mkdir.sh $d/ 79 cp ${S}/build/mkdir.sh $d/
74 cp ${S}/build/make_exports.awk $d/ 80 cp ${S}/build/make_exports.awk $d/
75 cp ${S}/build/make_var_export.awk $d/ 81 cp ${S}/build/make_var_export.awk $d/
82 cp ${S}/${HOST_SYS}-libtool ${SYSROOT_DESTDIR}${datadir}/build-1/libtool
76} 83}
77 84
78do_compile_ptest() { 85do_compile_ptest() {