Hack to prevent `java.lang.UnsatisfiedLinkError: no svnjavahl in java.library.path' from happening when using the javahl bindings for Subversion.

svn path=/nixpkgs/trunk/; revision=3949
This commit is contained in:
Roy van den Broek 2005-09-28 10:03:15 +00:00
parent ba6556058d
commit d217b912d2

View File

@ -38,6 +38,10 @@ postInstall() {
mkdir -p subversion/bindings/java/javahl/classes # bug fix
make javahl
make install-javahl
# Hack to prevent java.lang.UnsatisfiedLinkError: no svnjavahl in java.library.path
cd $out/lib
ln -s libsvnjavahl-1.so libsvnjavahl.so
cd -
mkdir -p $out/share/doc/$name
$jdk/bin/javadoc -d $out/share/doc/$name \
-windowtitle "JavaHL Subversion Bindings" \