Working mingw32-ocaml-lablgl.
[fedora-mingw.git] / ocaml-lablgl / mingw32-ocaml-lablgl-1.03-make-fixes.patch
diff --git a/ocaml-lablgl/mingw32-ocaml-lablgl-1.03-make-fixes.patch b/ocaml-lablgl/mingw32-ocaml-lablgl-1.03-make-fixes.patch
new file mode 100644 (file)
index 0000000..bf4cdb5
--- /dev/null
@@ -0,0 +1,22 @@
+--- lablgl-1.03/Makefile.common.orig   2008-11-23 19:47:25.000000000 +0000
++++ lablgl-1.03/Makefile.common        2008-11-23 19:57:44.000000000 +0000
+@@ -10,8 +10,8 @@
+ LINKER=$(CAMLC)
+ OPTLINK=$(CAMLOPT)
+ SRCDIR=$(TOPDIR)/src
+-VAR2DEF=ocamlrun $(SRCDIR)/var2def
+-VAR2SWITCH=ocamlrun $(SRCDIR)/var2switch
++VAR2DEF=ocamlrun $(SRCDIR)/var2def$(XE)
++VAR2SWITCH=ocamlrun $(SRCDIR)/var2switch$(XE)
+ # Default settings
+ CONFIG = $(TOPDIR)/Makefile.config
+@@ -32,7 +32,7 @@
+ # Windows specific
+ MKLIB=link /lib /nologo /debugtype:CV /out:
+ MKDLL=link /nologo /dll /out:
+-OCAMLDLL= "$(LIBDIR)/ocamlrun$(XA)"
++OCAMLDLL= 
+ include $(CONFIG)