nixpkgs/pkgs/os-specific/linux/dietlibc/builder.sh
Eelco Dolstra b131d474c7 * dietlibc: symlink "lib" to "lib-*", and symlink "crt1.o" to
"start.o" to make it easier to use dietlibc as a drop-in replacement
  for glibc.

svn path=/nixpkgs/trunk/; revision=6759
2006-10-18 11:25:10 +00:00

13 lines
205 B
Bash

source $stdenv/setup
makeFlags="prefix=$out"
installFlags="prefix=$out"
postInstall=postInstall
postInstall() {
(cd $out && ln -s lib-* lib)
(cd $out/lib && ln -s start.o crt1.o)
}
genericBuild