Permalink
Browse files

Link with ole32.lib for the x3manager plugin.

  • Loading branch information...
1 parent 79f77dc commit d1f76826698cbe77b723b4910c326ce022fdb83e @rhcad committed Apr 19, 2012
Showing with 6 additions and 2 deletions.
  1. +4 −0 interface/core/portability/x3port.h
  2. +2 −2 source/core/x3manager/Makefile
@@ -11,6 +11,10 @@
#include "x3unix.h"
#endif
+#if !defined(_MSC_VER) || _MSC_VER < 1400
+#include "func_s.h"
+#endif
+
HMODULE x3LoadLibrary(const char* filename);
bool x3FreeLibrary(HMODULE hdll);
@@ -3,8 +3,8 @@ PROJNAME =x3manager
include $(ROOTDIR)/config.mk
-ifdef VCBIN
-LIBS += ole32.lib
+ifdef IS_WIN
+LIBS += $(LIBFLAG)ole32$(LIBEND)
endif
include $(SRCPUB_DIR)/mk/Makefile.pln

0 comments on commit d1f7682

Please sign in to comment.