exim: fix enableMySQL (use libmysqlclient.dev)

This commit is contained in:
Johannes Schleifenbaum 2021-05-12 10:53:59 +02:00
parent 1f69514445
commit 67ef7772a1
No known key found for this signature in database
GPG Key ID: 059093B1A278BCD0

View File

@ -60,7 +60,7 @@ stdenv.mkDerivation rec {
s:^# \(LOOKUP_MYSQL_PC=libmysqlclient\)$:\1:
s:^\(LOOKUP_LIBS\)=\(.*\):\1=\2 -lmysqlclient -L${libmysqlclient}/lib/mysql -lssl -ldl -lm -lpthread -lz:
s:^# \(LOOKUP_LIBS\)=.*:\1=-lmysqlclient -L${libmysqlclient}/lib/mysql -lssl -ldl -lm -lpthread -lz:
s:^# \(LOOKUP_INCLUDE\)=.*:\1=-I${libmysqlclient}/include/mysql/:
s:^# \(LOOKUP_INCLUDE\)=.*:\1=-I${libmysqlclient.dev}/include/mysql/:
''}
${lib.optionalString enableAuthDovecot ''
s:^# \(AUTH_DOVECOT\)=.*:\1=yes: