summaryrefslogtreecommitdiff
path: root/packages/classpath
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-08-13 19:21:22 +0000
committerKoen Kooi <koen@openembedded.org>2008-08-13 19:21:22 +0000
commitac79b51ec2d8cae059f63f4c87090d8e38e94f47 (patch)
treec2177df2d4000b3f83d0e57e2a01b227b99d399d /packages/classpath
parent2babd942267e00b6565562ede1ea1e91ebb85ed8 (diff)
classpath: classpath non-native needs the libtool rpath hack as well
Diffstat (limited to 'packages/classpath')
-rw-r--r--packages/classpath/classpath.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/classpath/classpath.inc b/packages/classpath/classpath.inc
index cfb9f1c089..cee09857e4 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