darwin: repair QuartzCore paths
This commit is contained in:
parent
45d8f62886
commit
657b1ccc47
@ -157,6 +157,13 @@ in rec {
|
|||||||
f="$out/Library/Frameworks/QuartzCore.framework/Headers/CoreImage.h"
|
f="$out/Library/Frameworks/QuartzCore.framework/Headers/CoreImage.h"
|
||||||
substituteInPlace "$f" \
|
substituteInPlace "$f" \
|
||||||
--replace "QuartzCore/../Frameworks/CoreImage.framework/Headers" "CoreImage"
|
--replace "QuartzCore/../Frameworks/CoreImage.framework/Headers" "CoreImage"
|
||||||
|
|
||||||
|
# CoreImage.framework's location varies by OSX version
|
||||||
|
for linkedFile in "$out/Library/Frameworks/QuartzCore.framework/Frameworks/CoreImage.framework"/*; do
|
||||||
|
link=$(readlink "$linkedFile" | sed 's,//,/A/,')
|
||||||
|
rm "$linkedFile"
|
||||||
|
ln -s "$link" "$linkedFile"
|
||||||
|
done
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user