1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

* Hack, hack, hack.

svn path=/nixpkgs/branches/stdenv-updates/; revision=10282
This commit is contained in:
Eelco Dolstra 2008-01-25 01:28:11 +00:00
parent 4e01864742
commit 4c83147793

View file

@ -120,7 +120,11 @@ chmod -R +w glibc
rm glibc/include/linux
cp -prd $(readlink $glibc/include/linux) glibc/include
rm glibc/include/asm
ln -s $(readlink $(readlink $glibc/include/asm)) glibc/include/asm
if test -L "$(readlink $glibc/include/asm)"; then
ln -s $(readlink $(readlink $glibc/include/asm)) glibc/include/asm
else
cp -prd "$(readlink $glibc/include/asm)" glibc/include
fi
for i in glibc/include/asm-*; do
target=$(readlink $i)
rm $i