postfix: add -DUSE_LDAP_SASL in CCARGS to support bind=sasl.

This commit is contained in:
Julien Moutinho 2018-09-19 11:34:08 +02:00
parent f89d6d92b7
commit 6c4480b498

View File

@ -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"