summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-30 17:03:38 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-30 17:03:38 +0000
commit66c952cbc258b1550f409ba93b83558a1f938d2e (patch)
tree780c5f50a1d20eea71c21c510ae8648ce7a77acd
parentdfd32b429a0a9bed09b75f59f0c7fb37f42c3ed9 (diff)
downloadopenembedded-core-66c952cbc258b1550f409ba93b83558a1f938d2e.tar.gz
openembedded-core-66c952cbc258b1550f409ba93b83558a1f938d2e.tar.bz2
openembedded-core-66c952cbc258b1550f409ba93b83558a1f938d2e.tar.xz
openembedded-core-66c952cbc258b1550f409ba93b83558a1f938d2e.zip
autotools.bbclass: Make sure config.rpath is present if needed
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/classes/autotools.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 1fb65715b..4f56b33c2 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -120,6 +120,10 @@ autotools_do_configure() {
oenote Executing glib-gettextize --force --copy
echo "no" | glib-gettextize --force --copy
fi
+ else if grep "^[[:space:]]*AM_GNU_GETTEXT" $CONFIGURE_AC >/dev/null; then
+ cp ${STAGING_DATADIR}/gettext/config.rpath ${S}/
+ fi
+
fi
mkdir -p m4
if grep "^[[:space:]]*[AI][CT]_PROG_INTLTOOL" $CONFIGURE_AC >/dev/null; then