ffmpeg-full: use cf-private to fix Darwin build

This commit is contained in:
Will Dietz
2018-12-31 11:00:03 -06:00
parent d349cfee88
commit 471804736d
2 changed files with 3 additions and 3 deletions
@@ -140,7 +140,7 @@
* Darwin frameworks
*/
, Cocoa, CoreAudio, CoreServices, AVFoundation, MediaToolbox
, VideoDecodeAcceleration, CF
, VideoDecodeAcceleration, cf-private
}:
/* Maintainer notes:
@@ -434,7 +434,7 @@ stdenv.mkDerivation rec {
FILES+=($(ls $out/lib/*.dylib))
for f in ''${FILES[@]}; do
if [ ! -h "$f" ]; then
install_name_tool -change ${CF}/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation "$f"
install_name_tool -change ${cf-private}/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation "$f"
fi
done
'';