zita-convolver: fix so link

This commit is contained in:
Jan Tojnar 2018-07-15 02:44:30 +02:00
parent 4a637dc004
commit 7ef73ab110
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -15,11 +15,14 @@ stdenv.mkDerivation rec {
sed -e "s@ldconfig@@" -i Makefile
'';
installPhase = ''
make PREFIX="$out" SUFFIX="" install
makeFlags = [
"PREFIX=$(out)"
"SUFFIX="
];
postInstall = ''
# create lib link for building apps
ln -s $out/lib/libzita-convolver.so.$version $out/lib/libzita-convolver.so.3
ln -s $out/lib/libzita-convolver.so.${version} $out/lib/libzita-convolver.so.${stdenv.lib.versions.major version}
'';
meta = {