postfix: fix "cant find <mysql.h>"
This commit is contained in:
parent
db43258354
commit
0e87647421
|
@ -12,7 +12,7 @@ let
|
||||||
"-DUSE_TLS" "-DUSE_SASL_AUTH" "-DUSE_CYRUS_SASL" "-I${cyrus_sasl.dev}/include/sasl"
|
"-DUSE_TLS" "-DUSE_SASL_AUTH" "-DUSE_CYRUS_SASL" "-I${cyrus_sasl.dev}/include/sasl"
|
||||||
"-DHAS_DB_BYPASS_MAKEDEFS_CHECK"
|
"-DHAS_DB_BYPASS_MAKEDEFS_CHECK"
|
||||||
] ++ lib.optional withPgSQL "-DHAS_PGSQL"
|
] ++ lib.optional withPgSQL "-DHAS_PGSQL"
|
||||||
++ lib.optionals withMySQL [ "-DHAS_MYSQL" "-I${libmysqlclient}/include/mysql" "-L${libmysqlclient}/lib/mysql" ]
|
++ lib.optionals withMySQL [ "-DHAS_MYSQL" "-I${libmysqlclient.dev}/include/mysql" "-L${libmysqlclient}/lib/mysql" ]
|
||||||
++ lib.optional withSQLite "-DHAS_SQLITE"
|
++ lib.optional withSQLite "-DHAS_SQLITE"
|
||||||
++ lib.optionals withLDAP ["-DHAS_LDAP" "-DUSE_LDAP_SASL"]);
|
++ lib.optionals withLDAP ["-DHAS_LDAP" "-DUSE_LDAP_SASL"]);
|
||||||
auxlibs = lib.concatStringsSep " " ([
|
auxlibs = lib.concatStringsSep " " ([
|
||||||
|
|
Loading…
Reference in a new issue