cygwin: turn off ldap and crypt for apr-util to make it build
This commit is contained in:
parent
d5087119c6
commit
7c67c350a3
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, fetchurl, makeWrapper, apr, expat, gnused
|
{ stdenv, fetchurl, makeWrapper, apr, expat, gnused
|
||||||
, sslSupport ? true, openssl
|
, sslSupport ? true, openssl
|
||||||
, bdbSupport ? false, db
|
, bdbSupport ? false, db
|
||||||
, ldapSupport ? true, openldap
|
, ldapSupport ? !stdenv.isCygwin, openldap
|
||||||
, libiconv
|
, libiconv
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
configureFlags = ''
|
configureFlags = ''
|
||||||
--with-apr=${apr} --with-expat=${expat}
|
--with-apr=${apr} --with-expat=${expat}
|
||||||
--with-crypto
|
${if !stdenv.isCygwin then "--with-crypto" else "--without-pgsql --without-sqlite2 --without-sqlite3 --without-freetds --without-berkeley-db --without-crypto"}
|
||||||
${stdenv.lib.optionalString sslSupport "--with-openssl=${openssl}"}
|
${stdenv.lib.optionalString sslSupport "--with-openssl=${openssl}"}
|
||||||
${stdenv.lib.optionalString bdbSupport "--with-berkeley-db=${db}"}
|
${stdenv.lib.optionalString bdbSupport "--with-berkeley-db=${db}"}
|
||||||
${stdenv.lib.optionalString ldapSupport "--with-ldap"}
|
${stdenv.lib.optionalString ldapSupport "--with-ldap"}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user