mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
apacheHttpd: fix build on darwin
* remove the gcc_s library from NIX_LDFLAGS (not available on darwin)
This commit is contained in:
parent
7346eb64bf
commit
2735e9c8d6
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
NIX_CFLAGS_COMPILE = "-iquote ${apr}/include/apr-1";
|
||||
|
||||
# Required for ‘pthread_cancel’.
|
||||
NIX_LDFLAGS = "-lgcc_s";
|
||||
NIX_LDFLAGS = (if stdenv.isDarwin then "" else "-lgcc_s");
|
||||
|
||||
configureFlags = ''
|
||||
--with-z=${zlib}
|
||||
|
Loading…
Reference in New Issue
Block a user