mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 09:47:55 +00:00
exim: Fix build with LDAP (#56058)
The lber library is now required, see also: https://bugs.archlinux.org/task/27509
This commit is contained in:
parent
bcb168d027
commit
b2a6183f75
@ -47,8 +47,8 @@ stdenv.mkDerivation rec {
|
||||
${stdenv.lib.optionalString enableLDAP ''
|
||||
s:^# \(LDAP_LIB_TYPE=OPENLDAP2\)$:\1:
|
||||
s:^# \(LOOKUP_LDAP=yes\)$:\1:
|
||||
s:^\(LOOKUP_LIBS\)=\(.*\):\1=\2 -lldap:
|
||||
s:^# \(LOOKUP_LIBS\)=.*:\1=-lldap:
|
||||
s:^\(LOOKUP_LIBS\)=\(.*\):\1=\2 -lldap -llber:
|
||||
s:^# \(LOOKUP_LIBS\)=.*:\1=-lldap -llber:
|
||||
''}
|
||||
${stdenv.lib.optionalString enableMySQL ''
|
||||
s:^# \(LOOKUP_MYSQL=yes\)$:\1:
|
||||
|
Loading…
Reference in New Issue
Block a user