summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-support/apr/apr-util_1.4.1.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-support/apr/apr-util_1.4.1.bb b/meta/recipes-support/apr/apr-util_1.4.1.bb
index deb608f8de..0516bc4acc 100644
--- a/meta/recipes-support/apr/apr-util_1.4.1.bb
+++ b/meta/recipes-support/apr/apr-util_1.4.1.bb
@@ -32,8 +32,10 @@ inherit autotools lib_package binconfig
32 32
33OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'" 33OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'"
34 34
35do_configure_prepend() { 35do_configure_append() {
36 cp ${STAGING_DATADIR}/apr/apr_rules.mk ${S}/build/rules.mk 36 if [ "${PN}" == "${BPN}" ]; then
37 cp ${STAGING_DATADIR}/apr/apr_rules.mk ${S}/build/rules.mk
38 fi
37} 39}
38do_configure_prepend_virtclass-native() { 40do_configure_prepend_virtclass-native() {
39 cp ${STAGING_DATADIR_NATIVE}/apr/apr_rules.mk ${S}/build/rules.mk 41 cp ${STAGING_DATADIR_NATIVE}/apr/apr_rules.mk ${S}/build/rules.mk