3
0
Fork 0
forked from mirrors/nixpkgs

svn path=/nixpkgs/trunk/; revision=11135

This commit is contained in:
Eelco Dolstra 2008-03-15 22:30:01 +00:00
parent 9f4d91df34
commit 8a72053717
2 changed files with 4 additions and 1 deletions

View file

@ -1,11 +1,13 @@
source $stdenv/setup
echo $NIX_GCC
buildPhase=buildPhase
buildPhase() {
for i in bin/*; do
patchelf \
--set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
--set-rpath $libX11/lib:$libXext/lib:$libSM/lib \
--set-rpath $libX11/lib:$libXext/lib:$libSM/lib:$(cat $NIX_GCC/nix-support/orig-gcc)/lib \
$i
done
}

View file

@ -12,6 +12,7 @@ stdenv.mkDerivation {
inherit libX11 libXext libSM;
dontStrip = true;
dontPatchELF = true;
meta = {
description = "Elektronische aangifte IB 2007";