]> git.sur5r.net Git - openldap/commitdiff
Fix ppolicy libltdl usage on Win32
authorHoward Chu <hyc@openldap.org>
Tue, 26 Apr 2005 12:54:24 +0000 (12:54 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 26 Apr 2005 12:54:24 +0000 (12:54 +0000)
servers/slapd/overlays/Makefile.in
servers/slapd/overlays/ppolicy.c

index b1d790ff61f8ca8bd8d3e6c61fae57562bb2de48..04427e89ef1b41db9acb1d43414e4dfb87ecf4ac 100644 (file)
@@ -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)
index 66e04e7ad1e9d99ef6cd02454be73cb910d8f59c..322b2b1009711ce4a8129938384275b48abffa2f 100644 (file)
@@ -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 <ltdl.h>
 #endif
 #include <ac/errno.h>