racket: fix build via forcing -lgcc_s

This commit is contained in:
Vladimír Čunát 2013-12-10 22:37:35 +01:00
parent fac74b7aa9
commit 1d62c6445f
1 changed files with 3 additions and 1 deletions

View File

@ -37,6 +37,8 @@ stdenv.mkDerivation rec {
configureFlags = [ "--enable-shared" "--enable-lt=${libtool}/bin/libtool" ];
NIX_LDFLAGS = "-lgcc_s";
postInstall = ''
for p in $(ls $out/bin/) ; do
wrapProgram $out/bin/$p --prefix LD_LIBRARY_PATH ":" "${ffiSharedLibs}" ;