mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
postfix: add -DUSE_LDAP_SASL in CCARGS to support bind=sasl.
This commit is contained in:
parent
f89d6d92b7
commit
6c4480b498
@ -13,7 +13,7 @@ let
|
||||
] ++ lib.optional withPgSQL "-DHAS_PGSQL"
|
||||
++ lib.optionals withMySQL [ "-DHAS_MYSQL" "-I${mysql.connector-c}/include/mysql" "-L${mysql.connector-c}/lib/mysql" ]
|
||||
++ lib.optional withSQLite "-DHAS_SQLITE"
|
||||
++ lib.optional withLDAP "-DHAS_LDAP");
|
||||
++ lib.optionals withLDAP ["-DHAS_LDAP" "-DUSE_LDAP_SASL"]);
|
||||
auxlibs = lib.concatStringsSep " " ([
|
||||
"-ldb" "-lnsl" "-lresolv" "-lsasl2" "-lcrypto" "-lssl"
|
||||
] ++ lib.optional withPgSQL "-lpq"
|
||||
|
Loading…
Reference in New Issue
Block a user