* Renamed orig-glibc -> orig-libc in some places, and in others, use

the new $NIX_GCC/nix-support/dynamic-linker file to locate the
  dynamic linker directly (don't hardcode ld-linux.so.2).

svn path=/nixpkgs/trunk/; revision=6873
This commit is contained in:
Eelco Dolstra
2006-10-27 12:43:32 +00:00
parent ee2b63c872
commit b90781ec21
13 changed files with 12 additions and 25 deletions
+1 -3
View File
@@ -24,8 +24,6 @@ mkdir $out
# Set the ELF interpreter to our own Glibc.
glibc=$(cat $NIX_GCC/nix-support/orig-glibc)
for i in "$out/System/ucc-bin" "$out/System/ut2004-bin"; do
patchelf --set-interpreter "$glibc/lib/ld-linux.so.2" "$i"
patchelf --set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" "$i"
done
-2
View File
@@ -2,8 +2,6 @@ source $stdenv/setup
ensureDir $out/bin
glibc=$(cat $NIX_GCC/nix-support/orig-glibc)
cat > $out/bin/ut2004demo <<EOF
#! $SHELL -e