Merge pull request #105006 from ymarkus/fix-postfixMySQL
postfix: fix "cant find <mysql.h>" when building with "withMySQL = true"
This commit is contained in:
commit
abd9ef1607
@ -12,7 +12,7 @@ let
|
||||
"-DUSE_TLS" "-DUSE_SASL_AUTH" "-DUSE_CYRUS_SASL" "-I${cyrus_sasl.dev}/include/sasl"
|
||||
"-DHAS_DB_BYPASS_MAKEDEFS_CHECK"
|
||||
] ++ 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.optionals withLDAP ["-DHAS_LDAP" "-DUSE_LDAP_SASL"]);
|
||||
auxlibs = lib.concatStringsSep " " ([
|
||||
|
Loading…
Reference in New Issue
Block a user