cf-private: overwrite headers from CF
This commit is contained in:
parent
3b7162839c
commit
63bac2c23e
@ -7,12 +7,14 @@ stdenv.mkDerivation {
|
|||||||
dest=$out/Library/Frameworks/CoreFoundation.framework/Headers
|
dest=$out/Library/Frameworks/CoreFoundation.framework/Headers
|
||||||
mkdir -p $dest
|
mkdir -p $dest
|
||||||
pushd $dest
|
pushd $dest
|
||||||
cp -Lv ${osx_private_sdk}/include/CoreFoundationPrivateHeaders/* $dest
|
|
||||||
for file in ${CF}/Library/Frameworks/CoreFoundation.framework/Headers/*; do
|
for file in ${CF}/Library/Frameworks/CoreFoundation.framework/Headers/*; do
|
||||||
ln -sf $file
|
ln -sf $file
|
||||||
done
|
done
|
||||||
popd
|
|
||||||
|
|
||||||
|
# Copy or overwrite private headers, some of these might already
|
||||||
|
# exist in CF but the private versions have more information.
|
||||||
|
cp -Lfv ${osx_private_sdk}/include/CoreFoundationPrivateHeaders/* $dest
|
||||||
|
popd
|
||||||
'';
|
'';
|
||||||
|
|
||||||
setupHook = ./setup-hook.sh;
|
setupHook = ./setup-hook.sh;
|
||||||
|
Loading…
Reference in New Issue
Block a user