junixsocket: Ensure that the native library can be found

This commit is contained in:
Eelco Dolstra 2014-01-27 13:51:22 +01:00
parent e6e2459f59
commit 5898d854da

View File

@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
preConfigure =
''
sed -i 's|/usr/bin/||' build.xml
substituteInPlace src/main/org/newsclub/net/unix/NativeUnixSocketConfig.java \
--replace /opt/newsclub/lib-native $out/lib
'';
buildPhase = "ant";