mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
exim: Fix build with LDAP (#56058)
The lber library is now required, see also:
https://bugs.archlinux.org/task/27509
(cherry picked from commit b2a6183f75)
This commit is contained in:
committed by
Dmitry Kalinkin
parent
5a4989f948
commit
a9b5d36898
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user