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
|
||||
, sslSupport ? true, openssl
|
||||
, bdbSupport ? false, db
|
||||
, ldapSupport ? true, openldap
|
||||
, ldapSupport ? !stdenv.isCygwin, openldap
|
||||
, libiconv
|
||||
}:
|
||||
|
||||
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags = ''
|
||||
--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 bdbSupport "--with-berkeley-db=${db}"}
|
||||
${stdenv.lib.optionalString ldapSupport "--with-ldap"}
|
||||
|
Loading…
Reference in New Issue
Block a user