mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
darwin.dyld: drop x86_64-darwin support
This commit is contained in:
parent
f95c28dbb5
commit
08b44da127
1 changed files with 2 additions and 7 deletions
|
|
@ -35,13 +35,8 @@ let
|
|||
'${Libc}/include/_bounds.h'
|
||||
|
||||
mkdir -p "$out/include/System"
|
||||
for dir in arm i386 machine; do
|
||||
mkdir -p "$out/include/$dir"
|
||||
for file in '${xnu}/osfmk/'$dir/*; do
|
||||
name=$(basename "$file")
|
||||
# Skip copying `endian.h` because it conflicts with the SDK, breaking the build on x86_64-darwin.
|
||||
test "$name" != endian.h && cp -r "$file" "$out/include/$dir/$name"
|
||||
done
|
||||
for dir in arm machine; do
|
||||
cp -r '${xnu}/osfmk/'$dir "$out/include/$dir"
|
||||
ln -s "$out/include/$dir" "$out/include/System/$dir"
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue