apache-httpd: add libiconv for darwin
This commit is contained in:
parent
3ff552fabe
commit
f35f421d60
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, perl, zlib, apr, aprutil, pcre
|
{ stdenv, fetchurl, perl, zlib, apr, aprutil, pcre, libiconv
|
||||||
, proxySupport ? true
|
, proxySupport ? true
|
||||||
, sslSupport ? true, openssl
|
, sslSupport ? true, openssl
|
||||||
, ldapSupport ? true, openldap
|
, ldapSupport ? true, openldap
|
||||||
@ -24,7 +24,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [perl] ++
|
buildInputs = [perl] ++
|
||||||
optional ldapSupport openldap ++ # there is no --with-ldap flag
|
optional ldapSupport openldap ++ # there is no --with-ldap flag
|
||||||
optional libxml2Support libxml2;
|
optional libxml2Support libxml2 ++
|
||||||
|
optional stdenv.isDarwin libiconv;
|
||||||
|
|
||||||
# Required for ‘pthread_cancel’.
|
# Required for ‘pthread_cancel’.
|
||||||
NIX_LDFLAGS = stdenv.lib.optionalString (!stdenv.isDarwin) "-lgcc_s";
|
NIX_LDFLAGS = stdenv.lib.optionalString (!stdenv.isDarwin) "-lgcc_s";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user