From 00ac49a1fd4edff795faf81ed890774ca0bdbf58 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 7 Aug 1999 07:54:45 +0000 Subject: [PATCH] Modified for use with libtool's ltdl instead of gmodule --- servers/slapd/back-ldap/Makefile.in | 2 +- servers/slapd/back-ldap/init.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/servers/slapd/back-ldap/Makefile.in b/servers/slapd/back-ldap/Makefile.in index c31a7e93c3..1427858ab6 100644 --- a/servers/slapd/back-ldap/Makefile.in +++ b/servers/slapd/back-ldap/Makefile.in @@ -10,7 +10,7 @@ BUILD_OPT = "--enable-ldap" BUILD_LIB = @BUILD_LDAP@ BUILD_MOD = @BUILD_LDAP_DYNAMIC@ -LIBBASE = back-ldap +LIBBASE = back_ldap XINCPATH = -I.. -I$(srcdir)/.. XDEFS = $(MODULES_CPPFLAGS) diff --git a/servers/slapd/back-ldap/init.c b/servers/slapd/back-ldap/init.c index 025b974a61..33888f6765 100644 --- a/servers/slapd/back-ldap/init.c +++ b/servers/slapd/back-ldap/init.c @@ -31,9 +31,8 @@ #include "back-ldap.h" #ifdef SLAPD_LDAP_DYNAMIC -#include -G_MODULE_EXPORT void init_module(int argc, char *argv[]) { +void back_ldap_LTX_init_module(int argc, char *argv[]) { BackendInfo bi; memset( &bi, 0, sizeof(bi) ); -- 2.39.5