Merge pull request #254247 from johnhamelink/fix/mpv-on-darwin
mpv: Fix mujs dylib on Darwin
This commit is contained in:
commit
2874e518bf
@ -225,6 +225,9 @@ in stdenv'.mkDerivation (finalAttrs: {
|
||||
# See the explanation in addOpenGLRunpath.
|
||||
postFixup = lib.optionalString stdenv.isLinux ''
|
||||
addOpenGLRunpath $out/bin/mpv
|
||||
'' + lib.optionalString (stdenv.isDarwin && javascriptSupport) ''
|
||||
${stdenv.cc.targetPrefix}install_name_tool -change "build/release/libmujs.dylib" \
|
||||
"${mujs}/lib/libmujs.dylib" $out/bin/mpv
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
|
Loading…
Reference in New Issue
Block a user