overlay/dev-java/icedtea/files/icedtea-7.2.0_shark_jvm_rpath.patch

17 lines
527 B
Diff
Raw Normal View History

2012-01-20 20:39:48 +01:00
Author: Ralph Sennhauser <sera@gentoo.org>
The llvm libdir isn't in the default search path on Gentoo. Adding path explicitely.
diff --git a/configure.ac b/configure.ac
index e0b866b..4a10cf3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -405,6 +405,7 @@ if test "x${SHARK_BUILD_TRUE}" = x || test "x${ADD_SHARK_BUILD_TRUE}" = x; then
LLVM_LDFLAGS="$LLVM_LDFLAGS$flag"
fi
done
+ LLVM_LDFLAGS="$LLVM_LDFLAGS -Wl,-rpath,$($LLVM_CONFIG --libdir)"
dnl LLVM_LIBS
LIBS_SAVED=$LIBS
LDFLAGS_SAVED=$LDFLAGS