mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Fix module link libraries
This commit is contained in:
parent
7be90a7ddf
commit
81bc7fcc8c
@ -97,7 +97,7 @@ LTFLAGS_MOD = $(@PLAT@_LTFLAGS_MOD)
|
||||
|
||||
# platform-specific LINK_LIBS defined in various Makefile.in files.
|
||||
# LINK_LIBS referenced in library and module link commands.
|
||||
LINK_LIBS = $(@PLAT@_LINK_LIBS)
|
||||
LINK_LIBS = $(MOD_LIBS) $(@PLAT@_LINK_LIBS)
|
||||
|
||||
LTSTATIC = @LTSTATIC@
|
||||
|
||||
|
12
configure.in
12
configure.in
@ -1943,13 +1943,13 @@ if test $ol_with_ldbm_api = ndbm ; then
|
||||
fi
|
||||
|
||||
if test $ol_link_ldbm = no -a $ol_enable_ldbm != no ; then
|
||||
AC_MSG_WARN([could not find suitable LDBM backend])
|
||||
if test $ol_enable_ldbm = yes ; then
|
||||
AC_MSG_ERROR([select appropriate LDBM options or disable])
|
||||
fi
|
||||
AC_MSG_ERROR([could not find suitable LDBM backend])
|
||||
fi
|
||||
|
||||
AC_MSG_WARN(disabling LDBM)
|
||||
ol_enable_ldbm=no
|
||||
if test $ol_enable_bdb = yes -o \
|
||||
$ol_enable_hdb = yes -o \
|
||||
$ol_enable_ldbm = yes ; then
|
||||
SLAPD_LIBS="$SLAPD_LIBS \$(LDBM_LIBS)"
|
||||
fi
|
||||
|
||||
dnl ----------------------------------------------------------------
|
||||
|
@ -71,7 +71,7 @@ XDEFS = $(MODULES_CPPFLAGS)
|
||||
XLDFLAGS = $(MODULES_LDFLAGS)
|
||||
|
||||
XLIBS = $(SLAPD_STATIC_DEPENDS) $(SLAPD_L) liboverlays.a
|
||||
XXLIBS = $(LDBM_LIBS) $(SLAPD_LIBS) $(SECURITY_LIBS) $(LUTIL_LIBS)
|
||||
XXLIBS = $(SLAPD_LIBS) $(SECURITY_LIBS) $(LUTIL_LIBS)
|
||||
XXXLIBS = $(LTHREAD_LIBS) $(SLAPI_LIBS) $(MODULES_LIBS)
|
||||
|
||||
BUILD_OPT = "--enable-slapd"
|
||||
|
@ -35,6 +35,7 @@ BUILD_MOD = @BUILD_BDB@
|
||||
|
||||
mod_DEFS = -DSLAPD_IMPORT
|
||||
MOD_DEFS = $(@BUILD_BDB@_DEFS)
|
||||
MOD_LIBS = $(LDBM_LIBS)
|
||||
|
||||
shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
|
||||
NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
|
||||
|
@ -37,6 +37,7 @@ BUILD_MOD = @BUILD_HDB@
|
||||
|
||||
mod_DEFS = -DSLAPD_IMPORT
|
||||
MOD_DEFS = $(@BUILD_HDB@_DEFS)
|
||||
MOD_LIBS = $(LDBM_LIBS)
|
||||
|
||||
shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
|
||||
NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
|
||||
|
@ -34,6 +34,7 @@ BUILD_MOD = @BUILD_LDBM@
|
||||
|
||||
mod_DEFS = -DSLAPD_IMPORT
|
||||
MOD_DEFS = $(@BUILD_LDBM@_DEFS)
|
||||
MOD_LIBS = $(LDBM_LIBS)
|
||||
|
||||
shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
|
||||
NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
|
||||
|
@ -28,6 +28,7 @@ PERL_CPPFLAGS = @PERL_CPPFLAGS@
|
||||
|
||||
mod_DEFS = -DSLAPD_IMPORT
|
||||
MOD_DEFS = $(@BUILD_PERL@_DEFS)
|
||||
MOD_LIBS = @MOD_PERL_LDFLAGS@
|
||||
|
||||
shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
|
||||
NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
|
||||
|
Loading…
Reference in New Issue
Block a user