updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / mingw32-ocaml / mingw32-ocaml-fix-ocamlrun-path.patch
blob068689ecc9370bc4e3784d145e31f228c36bcf5d
1 Index: build-tree/ocaml-3.12.0/otherlibs/systhreads/Makefile.nt
2 ===================================================================
3 --- build-tree.orig/ocaml-3.12.0/otherlibs/systhreads/Makefile.nt 2010-06-23 19:30:30.000000000 +0200
4 +++ build-tree/ocaml-3.12.0/otherlibs/systhreads/Makefile.nt 2010-06-23 19:30:37.000000000 +0200
5 @@ -35,7 +35,7 @@
6 allopt: lib$(LIBNAME).$(A) $(LIBNAME).cmxa $(LIBNAME).cmxs $(CMIFILES)
8 $(LIBNAME).cma: $(CAMLOBJS)
9 - $(MKLIB) -o $(LIBNAME) -ocamlc "..\\..\\boot\\ocamlrun ..\\..\\ocamlc" -linkall $(CAMLOBJS) $(LINKOPTS)
10 + $(MKLIB) -o $(LIBNAME) -ocamlc "../../boot/ocamlrun ../../ocamlc" -linkall $(CAMLOBJS) $(LINKOPTS)
12 lib$(LIBNAME).$(A): $(COBJS)
13 $(MKLIB) -o $(LIBNAME) $(COBJS) $(LDOPTS)
14 @@ -47,7 +47,7 @@
17 $(LIBNAME).cmxa: $(CAMLOBJS:.cmo=.cmx)
18 - $(MKLIB) -o $(LIBNAME)nat -ocamlopt "..\\..\\boot\\ocamlrun ..\\..\\ocamlopt" -linkall $(CAMLOBJS:.cmo=.cmx) $(LINKOPTS)
19 + $(MKLIB) -o $(LIBNAME)nat -ocamlopt "../../boot/ocamlrun ../../ocamlopt" -linkall $(CAMLOBJS:.cmo=.cmx) $(LINKOPTS)
20 mv $(LIBNAME)nat.cmxa $(LIBNAME).cmxa
21 mv $(LIBNAME)nat.$(A) $(LIBNAME).$(A)