From 59de8333d01d8d0b04f454f779623c23116e57f1 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 26 Apr 2005 12:54:24 +0000 Subject: [PATCH] Fix ppolicy libltdl usage on Win32 --- servers/slapd/overlays/Makefile.in | 2 +- servers/slapd/overlays/ppolicy.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5