[Nix-dev] Re: [Nix-commits] SVN commit: nix - 17390 - viric - nixos/trunk/modules/system/boot

Nicolas Pierron nicolas.b.pierron at gmail.com
Wed Sep 23 23:33:20 CEST 2009


Hi,

On Wed, Sep 23, 2009 at 22:50, Llus Batlle <viriketo at gmail.com> wrote:
>               echo "patching $i..."
> -              patchelf --set-interpreter $out/lib/ld-linux*.so.2 --set-rpath $out/lib $i || true
> +              patchelf --set-interpreter $out/lib/ld-linux*.so.? --set-rpath $out/lib $i || true
> +              if [ "$doublePatchelf" -eq 1 ]; then
> +                  patchelf --set-interpreter $out/lib/ld-linux*.so.? --set-rpath $out/lib $i || true
> +              fi

Why do you need to apply patchelf twice?

-- 
Nicolas Pierron
http://www.linkedin.com/in/nicolasbpierron
Lars Rasmussen (Google IO 2009) - Icland is an icland.



More information about the nix-dev mailing list