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 ''
|
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
|
for file in $out/bin/*; do
|
||||||
install_name_tool -change libsndio.7.0.dylib $out/lib/libsndio.dylib $file
|
install_name_tool -change libsndio.7.0.dylib $out/lib/libsndio.dylib $file
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user