From: Howard Chu Date: Tue, 26 Apr 2005 12:54:24 +0000 (+0000) Subject: Fix ppolicy libltdl usage on Win32 X-Git-Tag: OPENLDAP_AC_BP~788 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=59de8333d01d8d0b04f454f779623c23116e57f1;p=openldap Fix ppolicy libltdl usage on Win32 --- diff --git a/servers/slapd/overlays/Makefile.in b/servers/slapd/overlays/Makefile.in index b1d790ff61..04427e89ef 100644 --- a/servers/slapd/overlays/Makefile.in +++ b/servers/slapd/overlays/Makefile.in @@ -74,7 +74,7 @@ pcache.la : pcache.lo $(@PLAT@_LINK_LIBS) $(LTLINK_MOD) -module -o $@ pcache.lo version.lo $(LINK_LIBS) ppolicy.la : ppolicy.lo $(@PLAT@_LINK_LIBS) - $(LTLINK_MOD) -module -o $@ ppolicy.lo version.lo $(LINK_LIBS) + $(LTLINK_MOD) -module -o $@ ppolicy.lo version.lo $(LINK_LIBS) $(MODULES_LIBS) refint.la : refint.lo $(@PLAT@_LINK_LIBS) $(LTLINK_MOD) -module -o $@ refint.lo version.lo $(LINK_LIBS) diff --git a/servers/slapd/overlays/ppolicy.c b/servers/slapd/overlays/ppolicy.c index 66e04e7ad1..322b2b1009 100644 --- a/servers/slapd/overlays/ppolicy.c +++ b/servers/slapd/overlays/ppolicy.c @@ -36,6 +36,7 @@ #include "lutil.h" #include "slap.h" #if SLAPD_MODULES +#define LIBLTDL_DLL_IMPORT /* Win32: don't re-export libltdl's symbols */ #include #endif #include