Skip to contentSkip to conversation

autotools: fix libiconv compilation for uclibc toolchain

PATCH New Vladimir Zapolskiy 1 participant 1 message May 23, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 autotools: fix libiconv compilation for uclibc toolchain

Recent commit to autotools.bbclass forces gettext install dependency for packets with defined AM_GNU_GETTEXT macro. In uclibc platform gettext depends on libiconv, but the macro is present and reliable in libiconv configuration script.

---
 classes/autotools.bbclass |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
classes/autotools.bbclass +0 -4
index 9bb4f6c..a97a64a 100644
@@ -129,10 +129,6 @@ 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
 			oenote Executing autoreconf --verbose --install --force ${EXTRA_AUTORECONF} $acpaths
Signature · 1 line
1.7.1