]> code.ossystems Code Review - openembedded-core.git/commitdiff
autotools.bbclass: Make sure config.rpath is present if needed
authorRichard Purdie <rpurdie@linux.intel.com>
Mon, 30 Nov 2009 17:03:38 +0000 (17:03 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 30 Nov 2009 17:03:38 +0000 (17:03 +0000)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
meta/classes/autotools.bbclass

index 1fb65715b3a0c1b2cb018faa816383795fe65963..4f56b33c288f12874cab3b3a35efe596207a90a5 100644 (file)
@@ -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