mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
ITS#2740 - link librewrite statically into back-ldap when it's built
as a module. Since back-meta also depends on back-ldap, this fixes both at once.
This commit is contained in:
parent
8c357efd28
commit
2d07fc4f3b
@ -30,9 +30,12 @@ BUILD_MOD_DYNAMIC = @BUILD_LDAP_DYNAMIC@
|
|||||||
mod_DEFS = -DSLAPD_IMPORT
|
mod_DEFS = -DSLAPD_IMPORT
|
||||||
MOD_DEFS = $(@BUILD_LDAP@_DEFS)
|
MOD_DEFS = $(@BUILD_LDAP@_DEFS)
|
||||||
|
|
||||||
|
mod_REWRITE = $(LDAP_LIBREWRITE_A)
|
||||||
|
|
||||||
|
REWRITE = $(@BUILD_META@_REWRITE) $(@BUILD_LDAP@_REWRITE)
|
||||||
shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
|
shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
|
||||||
NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
|
NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS) $(REWRITE)
|
||||||
UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
|
UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS) $(REWRITE)
|
||||||
|
|
||||||
LIBBASE = back_ldap
|
LIBBASE = back_ldap
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user