nixpkgs/pkgs/os-specific/linux/klibc/builder.sh
Eelco Dolstra 66b646d7e7 * Latest klibc.
svn path=/nixpkgs/trunk/; revision=7133
2006-11-25 21:49:42 +00:00

14 lines
238 B
Bash

source $stdenv/setup
preBuild=preBuild
preBuild() {
mkdir -p linux/include
ln -s $kernelHeaders/include/* linux/include/
}
makeFlagsArray=(V=1 prefix=$out SHLIBDIR=$out/lib)
installFlagsArray=("${makeFlagsArray[@]}")
genericBuild