git: Adding -lgcc_s on darwin causes the build to fail, so we disable it for that platform
This commit is contained in:
parent
4619675011
commit
23c78e41db
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user