[oe-commits] : classpath: classpath non-native needs the libtool rpath hack as well

OE GIT Trial gittrial at amethyst.openembedded.net
Fri Aug 15 12:10:03 UTC 2008


Module: OE.dev
Branch: master
Commit: dbc0523121ccfa7ce41edb858b3b943083a36a09
URL:    http://gitweb.openembedded.net//OE.dev.git/?a=commit;h=dbc0523121ccfa7ce41edb858b3b943083a36a09

Author:  <koen at openembedded.org>
Date:   Wed Aug 13 19:21:22 2008 +0000

classpath: classpath non-native needs the libtool rpath hack as well

---

 packages/classpath/classpath.inc |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/packages/classpath/classpath.inc b/packages/classpath/classpath.inc
index cfb9f1c..cee0985 100644
--- a/packages/classpath/classpath.inc
+++ b/packages/classpath/classpath.inc
@@ -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





More information about the Openembedded-commits mailing list