2004-11-04 13:20:54 +01:00
|
|
|
$extra2/bin/chmod u+w $out/include
|
|
|
|
(cd $out/include && $extra2/bin/ln -s $extra/include/* .) || exit 1
|
2004-12-01 15:42:38 +01:00
|
|
|
|
2004-12-01 16:39:39 +01:00
|
|
|
cd $out
|
2004-12-06 18:00:22 +01:00
|
|
|
$extra3/bin/find . -not -type l -exec $extra2/bin/chmod u+w {} \;
|
2004-12-06 19:30:52 +01:00
|
|
|
$extra3/bin/find . -exec $patchelf --interpreter $out/lib/ld-linux.so.2 --shrink-rpath {} \; || true
|
|
|
|
$extra2/bin/cat ./bin/catchsegv | $extra4/bin/sed "s|/nix/store/[a-z0-9]*-glibc/|$out|g" > ./bin/catchsegv
|
2004-12-06 18:00:22 +01:00
|
|
|
$extra3/bin/find . -not -type l -exec $extra2/bin/chmod u-w {} \;
|