sndio: fix lib install name on darwin

This commit is contained in:
Mario Rodas 2019-11-13 22:56:45 -05:00
parent d0c73e88b3
commit 9a2dcdc1db
No known key found for this signature in database
GPG Key ID: 4C4BEFD7B18DC5E8

View File

@ -12,6 +12,7 @@ stdenv.mkDerivation rec {
};
postFixup = stdenv.lib.optionalString stdenv.isDarwin ''
install_name_tool -id $out/lib/libsndio.7.0.dylib $out/lib/libsndio.7.0.dylib
for file in $out/bin/*; do
install_name_tool -change libsndio.7.0.dylib $out/lib/libsndio.dylib $file
done