diff options
-rw-r--r-- | meta/classes/autotools.bbclass | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index a4ce8519d5..041332208e 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass | |||
@@ -80,6 +80,8 @@ oe_runconf () { | |||
80 | fi | 80 | fi |
81 | } | 81 | } |
82 | 82 | ||
83 | AUTOTOOLS_AUXDIR ?= "${S}" | ||
84 | |||
83 | autotools_do_configure() { | 85 | autotools_do_configure() { |
84 | case ${PN} in | 86 | case ${PN} in |
85 | autoconf*) | 87 | autoconf*) |
@@ -144,7 +146,11 @@ autotools_do_configure() { | |||
144 | echo "no" | glib-gettextize --force --copy | 146 | echo "no" | glib-gettextize --force --copy |
145 | fi | 147 | fi |
146 | else if grep "^[[:space:]]*AM_GNU_GETTEXT" $CONFIGURE_AC >/dev/null; then | 148 | else if grep "^[[:space:]]*AM_GNU_GETTEXT" $CONFIGURE_AC >/dev/null; then |
147 | cp ${STAGING_DATADIR}/gettext/config.rpath ${S}/ | 149 | # We'd call gettextize here if it wasn't so broken... |
150 | cp ${STAGING_DATADIR}/gettext/config.rpath ${AUTOTOOLS_AUXDIR}/ | ||
151 | if [ ! -e ${S}/po/Makefile.in.in ]; then | ||
152 | cp ${STAGING_DATADIR}/gettext/po/Makefile.in.in ${S}/po/ | ||
153 | fi | ||
148 | fi | 154 | fi |
149 | fi | 155 | fi |
150 | fi | 156 | fi |