mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ed75be1b3c
and related AC_SUBST() so that when back-tcl is compiled as a dynamic module we link -ltcl to the module and not slapd (this is the correct way to do this since the .la file handles giving the correct libs when we pass the module to it in the linker line with -dlopen). Also modified the perl backend in a similar way except that the PERL_CPPFLAGS always go to the module and never to slapd (slapd doesn't need them). * build/mod.mk: added $(MODLIBS) to the dynamic module link line to accomodate module specific libraries. These should be defined in the back-*/Makefile.in file for each module (so far only back-tcl and back-perl need it). * build/top.mk: modified the perl ldflags and cppflags slightly * servers/slapd/Makefile.in: same here * servers/slapd/back-perl/Makefile.in: added MODLIBS=$(MOD_PERL_LDFLAGS) for when we are using a dynamic module (problem, libtool wont allow linking static libs into a libtool lib, so unless perl's libs are compiled dynamic, then back-perl can't be a dynamic module. We need a test for this on perl and tcl). * servers/slapd/back-tcl/Makefile.in: added MODLIBS=$(MOD_TCL_LIB) * back-perl and back-tcl now compile |
||
---|---|---|
.. | ||
add.c | ||
bind.c | ||
close.c | ||
compare.c | ||
config.c | ||
delete.c | ||
external.h | ||
init.c | ||
Makefile.in | ||
modify.c | ||
modrdn.c | ||
perl_back.h | ||
SampleLDAP.pm | ||
search.c | ||
unbind.c |