1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

git: link binaries with libgcc_s.so to ensure pthread_cancel() works

This commit is contained in:
Peter Simons 2013-03-09 23:57:57 +01:00
parent b8339a1c1d
commit 4c9ebb62d4

View file

@ -31,6 +31,9 @@ stdenv.mkDerivation {
docbook_xsl docbook_xml_dtd_45 libxslt ]
++ stdenv.lib.optionals guiSupport [tcl tk];
# required to support pthread_cancel()
NIX_LDFLAGS = "-lgcc_s";
makeFlags = "prefix=\${out} PERL_PATH=${perl}/bin/perl SHELL_PATH=${stdenv.shell} "
+ (if pythonSupport then "PYTHON_PATH=${python}/bin/python" else "NO_PYTHON=1");