Merge pull request #73379 from marsam/fix-mpv-darwin
mpv: fix build on darwin
This commit is contained in:
commit
c46d15de44
@ -39,7 +39,7 @@
|
||||
, pulseSupport ? config.pulseaudio or stdenv.isLinux, libpulseaudio ? null
|
||||
, rubberbandSupport ? stdenv.isLinux, rubberband ? null
|
||||
, screenSaverSupport ? true, libXScrnSaver ? null
|
||||
, sambaSupport ? true, samba ? null
|
||||
, sambaSupport ? stdenv.isLinux, samba ? null
|
||||
, sdl2Support ? true, SDL2 ? null
|
||||
, sndioSupport ? true, sndio ? null
|
||||
, speexSupport ? true, speex ? null
|
||||
|
@ -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