mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 09:17:07 +03:00
let's patch all our glibc thingies!!
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1826
This commit is contained in:
parent
fbce69c4ac
commit
222cedd14b
@ -70,6 +70,7 @@ rec {
|
||||
url = http://losser.st-lab.cs.uu.nl/~armijn/.nix/glibc-2.3.3-static-2.tar.gz;
|
||||
pkgname = "glibc";
|
||||
patchelf = ./patchelf-static/patchelf;
|
||||
find = findutils;
|
||||
postprocess = ./scripts/add-symlink.sh;
|
||||
extra = linuxHeaders;
|
||||
extra2 = coreutils;
|
||||
|
@ -1,4 +1,5 @@
|
||||
$extra2/bin/chmod u+w $out/include
|
||||
(cd $out/include && $extra2/bin/ln -s $extra/include/* .) || exit 1
|
||||
|
||||
$patchelf --interpreter $out/lib/ld-linux.so.2 *
|
||||
cd $out
|
||||
$findutils/bin/find . | $findutils/bin/xargs $patchelf --interpreter $out/lib/ld-linux.so.2 --shrink-rpath
|
||||
|
Loading…
Reference in New Issue
Block a user