apacheHttpd: fix build on darwin

* remove the gcc_s library from NIX_LDFLAGS (not available on darwin)
This commit is contained in:
Jason "Don" O'Conal 2013-06-14 18:16:37 +10:00
parent 7346eb64bf
commit 2735e9c8d6

View File

@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = "-iquote ${apr}/include/apr-1"; NIX_CFLAGS_COMPILE = "-iquote ${apr}/include/apr-1";
# Required for pthread_cancel. # Required for pthread_cancel.
NIX_LDFLAGS = "-lgcc_s"; NIX_LDFLAGS = (if stdenv.isDarwin then "" else "-lgcc_s");
configureFlags = '' configureFlags = ''
--with-z=${zlib} --with-z=${zlib}