mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
exim: fix enableMySQL (use libmysqlclient.dev)
This commit is contained in:
parent
1f69514445
commit
67ef7772a1
@ -60,7 +60,7 @@ stdenv.mkDerivation rec {
|
|||||||
s:^# \(LOOKUP_MYSQL_PC=libmysqlclient\)$:\1:
|
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=\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_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 ''
|
${lib.optionalString enableAuthDovecot ''
|
||||||
s:^# \(AUTH_DOVECOT\)=.*:\1=yes:
|
s:^# \(AUTH_DOVECOT\)=.*:\1=yes:
|
||||||
|
Loading…
Reference in New Issue
Block a user