mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
sndio: fix lib install name on darwin
This commit is contained in:
parent
d0c73e88b3
commit
9a2dcdc1db
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user