classpath-initial: fix libtool2 error
authorHenning Heinold <heinold@inf.fu-berlin.de>
Sun, 27 Jul 2008 14:54:37 +0000 (14:54 +0000)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Sun, 27 Jul 2008 14:54:37 +0000 (14:54 +0000)
packages/classpath/classpath-native.inc

index 94eac96..3094dca 100644 (file)
@@ -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