1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

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 ] ++
(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 = ''
wrapProgram $out/bin/guile-snarf --prefix PATH : "${gawk}/bin"