From a520b9cfa022eae7014404c5401496c1fc13e030 Mon Sep 17 00:00:00 2001 From: LluĂ­s Batlle i Rossell Date: Fri, 6 Dec 2013 20:49:43 +0100 Subject: Fix the ultrastardx makefile (the hard way). --- pkgs/games/ultrastardx/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/games/ultrastardx') diff --git a/pkgs/games/ultrastardx/default.nix b/pkgs/games/ultrastardx/default.nix index 710d14cb86c..a77ee7049a2 100644 --- a/pkgs/games/ultrastardx/default.nix +++ b/pkgs/games/ultrastardx/default.nix @@ -16,6 +16,8 @@ stdenv.mkDerivation rec { # I even do a trick on lib/lib64 for libgcc, that I expect it will work. preBuild = '' export NIX_LDFLAGS="$NIX_LDFLAGS -rpath ${SDL}/lib -rpath ${SDL_image}/lib -rpath ${libpng}/lib -rpath ${freetype}/lib -rpath ${portaudio}/lib -rpath ${ffmpeg}/lib -rpath ${zlib}/lib -rpath ${sqlite}/lib -rpath ${libX11}/lib -rpath ${pcre}/lib -rpath ${stdenv.gcc.gcc}/lib64 -rpath ${stdenv.gcc.gcc}/lib" + + sed -i 414,424d Makefile ''; # dlopened libgcc requires the rpath not to be shrinked -- cgit 1.4.1