guile: Explicitly link against libgcc_s.

This commit is contained in:
Ludovic Courtès 2012-09-24 15:40:33 +02:00
parent 1fffc94956
commit d1279b6a0b

View File

@ -32,6 +32,10 @@
patches = [ ./disable-gc-sensitive-tests.patch ] ++ patches = [ ./disable-gc-sensitive-tests.patch ] ++
(stdenv.lib.optional (coverageAnalysis != null) ./gcov-file-name.patch); (stdenv.lib.optional (coverageAnalysis != null) ./gcov-file-name.patch);
# Explicitly link against libgcc_s, to work around the infamous
# "libgcc_s.so.1 must be installed for pthread_cancel to work".
LDFLAGS = "-lgcc_s";
postInstall = '' postInstall = ''
wrapProgram $out/bin/guile-snarf --prefix PATH : "${gawk}/bin" wrapProgram $out/bin/guile-snarf --prefix PATH : "${gawk}/bin"