]> git.sur5r.net Git - openldap/commitdiff
ITS#2740 - link librewrite statically into back-ldap when it's built
authorHoward Chu <hyc@openldap.org>
Thu, 4 Dec 2003 10:50:36 +0000 (10:50 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 4 Dec 2003 10:50:36 +0000 (10:50 +0000)
as a module. Since back-meta also depends on back-ldap, this fixes
both at once.

servers/slapd/back-ldap/Makefile.in

index 9e7fd9110872e2e0f125eb10a49d0fb145e63310..1160a40e16d626c9999e757992101ddd0b66ea67 100644 (file)
@@ -30,9 +30,12 @@ BUILD_MOD_DYNAMIC = @BUILD_LDAP_DYNAMIC@
 mod_DEFS = -DSLAPD_IMPORT
 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)
-NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
-UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
+NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS) $(REWRITE)
+UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS) $(REWRITE)
 
 LIBBASE = back_ldap