Create needed symlink

svn path=/nixpkgs/trunk/; revision=27185
This commit is contained in:
Michael Raskin 2011-05-08 18:46:55 +00:00
parent 23bb7fa94e
commit 683cc5634c

View File

@ -14,6 +14,12 @@ stdenv.mkDerivation rec{
configureFlags = [ "--localstatedir=/var" ];
postInstall = ''
cd "$out/lib"
lib=liblxc.so.?.*
ln -s $lib $(echo $lib | sed -re 's/(liblxc[.]so[.].)[.].*/\1/')
'';
buildInputs = [ libcap ];
meta = {