* Fake Glibc's crti.o and crtn.o to make the linker happy.

svn path=/nixpkgs/trunk/; revision=6760
This commit is contained in:
Eelco Dolstra 2006-10-18 12:45:46 +00:00
parent b131d474c7
commit 20d42ae673

@ -7,6 +7,11 @@ postInstall=postInstall
postInstall() {
(cd $out && ln -s lib-* lib)
(cd $out/lib && ln -s start.o crt1.o)
# Fake crti.o and crtn.o.
touch empty.c
gcc -c empty.c -o $out/lib/crti.o
gcc -c empty.c -o $out/lib/crtn.o
}
genericBuild