diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl
index d1f73b67fa..890518e233 100644
--- a/build/bakefiles/common.bkl
+++ b/build/bakefiles/common.bkl
@@ -454,6 +454,13 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
$(EXTRALIBS_GUI)
+
+ $(DOLLAR)(%SCITECH)/lib/$(BUILD)/dos32/ow10
+
+ dos4gw
+
+
+
$(wxwin.mk_wxid(id))
__WX$(TOOLKIT)__
@@ -467,6 +474,10 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
$(SETUPHDIR)
$(TOP_SRCDIR)include
$(LIBDIRNAME)
+
+ $(MGLLIBPATH)
+ $(MGLLIBPATH)/$(MGLPMLIBPATH)
+
max
-wcd=549
@@ -499,6 +510,13 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
+
+
+ mgl
+ mglcpp
+ pm
+
+
$(UNICOWS_LIB)
@@ -635,6 +653,9 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
+
+ $(DOLLAR)(%SCITECH)/include
+
$(INC_TIFF)
$(INC_JPEG)
$(INC_PNG)
diff --git a/build/bakefiles/config.bkl b/build/bakefiles/config.bkl
index 73e98e0d77..0a4c109c9a 100644
--- a/build/bakefiles/config.bkl
+++ b/build/bakefiles/config.bkl
@@ -352,7 +352,7 @@ it if SHARED=1 unless you know what you are doing.
- opengl32.lib glu32.lib
+ opengl32.lib glu32.lib
opengl32.lib glu32.lib
-lopengl32 -lglu32
@@ -455,6 +455,7 @@ Set the version of your Mingw installation here.
1
+ 0