From 6271375d8dedfae87376847c2942f2d9fda43e4f Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Sun, 27 Jul 2008 14:54:37 +0000 Subject: classpath-initial: fix libtool2 error --- packages/classpath/classpath-native.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/classpath/classpath-native.inc b/packages/classpath/classpath-native.inc index 94eac9633e..3094dca924 100644 --- a/packages/classpath/classpath-native.inc +++ b/packages/classpath/classpath-native.inc @@ -6,7 +6,7 @@ S = "${WORKDIR}/classpath-${PV}" SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz" -DEPENDS = "ecj-initial fastjar-native zip-native" +DEPENDS = "ecj-initial fastjar-native zip-nativei gettext-native" inherit autotools native @@ -29,6 +29,12 @@ EXTRA_OECONF = "\ --includedir=${STAGING_INCDIR}/classpath \ --with-vm=java \ " +# hack to get config.rpath in, it comes from gettext +do_configure_prepend () { + + ${@['','cp ${STAGING_DATADIR}/automake-1.10/config.rpath ${S}'][bb.data.getVar('PREFERRED_VERSION_automake-native',d,1) == '1.10']} + +} do_stage() { oe_runmake install -- cgit v1.2.3