git: link binaries with libgcc_s.so to ensure pthread_cancel() works
This commit is contained in:
parent
b8339a1c1d
commit
4c9ebb62d4
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user