classpath: classpath non-native needs the libtool rpath hack as well
authorKoen Kooi <koen@openembedded.org>
Wed, 13 Aug 2008 19:21:22 +0000 (19:21 +0000)
committerKoen Kooi <koen@openembedded.org>
Wed, 13 Aug 2008 19:21:22 +0000 (19:21 +0000)
packages/classpath/classpath.inc

index cfb9f1c..cee0985 100644 (file)
@@ -30,6 +30,14 @@ EXTRA_OECONF = "\
 
 inherit autotools
 
+# hack to get config.rpath in, it comes from gettext
+do_configure_prepend () {
+
+        ${@['','cp ${STAGING_DATADIR_NATIVE}/automake-1.10/config.rpath ${S}'][bb.data.getVar('PREFERRED_VERSION_automake-native',d,1) == '1.10']}
+
+}
+       
+
 do_stage() {
        install -d ${STAGING_INCDIR}/classpath
        install -m 0644 include/jni* ${STAGING_INCDIR}/classpath