Fix ppolicy libltdl usage on Win32

This commit is contained in:
Howard Chu 2005-04-26 12:54:24 +00:00
parent 1c54624cc4
commit 59de8333d0
2 changed files with 2 additions and 1 deletions

View 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)

View 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>