* Fix dietlibc on x86_64.

svn path=/nixpkgs/trunk/; revision=11014
This commit is contained in:
Eelco Dolstra 2008-03-07 15:36:21 +00:00
parent 40a9071596
commit ac8f511b88

View file

@ -25,6 +25,11 @@ postInstall() {
# from the dietlibc asm to the kernel-headers asm.
ln -s $kernelHeaders/include/asm/* $out/include/asm/ || true
# Make asm-x86_64 etc. available.
for i in $kernelHeaders/include/asm-*; do
ln -s $i $out/include/
done
# Idem for include/linux.
ln -s $kernelHeaders/include/linux/* $out/include/linux/ || true
}