git: Adding -lgcc_s on darwin causes the build to fail, so we disable it for that platform

This commit is contained in:
Sander van der Burg 2013-03-14 14:57:40 +01:00
parent 4619675011
commit 23c78e41db

View File

@ -32,7 +32,7 @@ stdenv.mkDerivation {
++ stdenv.lib.optionals guiSupport [tcl tk];
# required to support pthread_cancel()
NIX_LDFLAGS = "-lgcc_s";
NIX_LDFLAGS = stdenv.lib.optionalString (!stdenv.isDarwin) "-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");