dspam: fix build with PostgreSQL support
This commit is contained in:
parent
ec6b547b17
commit
f0189a8b40
|
@ -49,7 +49,8 @@ in stdenv.mkDerivation rec {
|
||||||
"--enable-preferences-extension"
|
"--enable-preferences-extension"
|
||||||
"--enable-long-usernames"
|
"--enable-long-usernames"
|
||||||
"--enable-external-lookup"
|
"--enable-external-lookup"
|
||||||
] ++ lib.optional withMySQL "--with-mysql-includes=${libmysql}/include/mysql";
|
] ++ lib.optional withMySQL "--with-mysql-includes=${libmysql}/include/mysql"
|
||||||
|
++ lib.optional withPgSQL "--with-pgsql-libraries=${postgresql.lib}/lib";
|
||||||
|
|
||||||
# Lots of things are hardwired to paths like sysconfdir. That's why we install with both "prefix" and "DESTDIR"
|
# Lots of things are hardwired to paths like sysconfdir. That's why we install with both "prefix" and "DESTDIR"
|
||||||
# and fix directory structure manually after that.
|
# and fix directory structure manually after that.
|
||||||
|
|
Loading…
Reference in New Issue