mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
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 New Issue
Block a user