updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mingw32-ocaml / mingw32-ocaml-run-ranlib-on-threads.patch
blob978be6a0fa1d8951ea49ed01f1a334573d570169
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:37.000000000 +0200
4 +++ build-tree/ocaml-3.12.0/otherlibs/systhreads/Makefile.nt 2010-06-23 19:31:50.000000000 +0200
5 @@ -72,6 +72,7 @@
6 install:
7 cp dllthreads.dll $(STUBLIBDIR)/dllthreads.dll
8 cp libthreads.$(A) $(LIBDIR)/libthreads.$(A)
9 + cd $(LIBDIR); $(RANLIB) libthreads.$(A)
10 mkdir -p $(LIBDIR)/threads
11 cp $(CMIFILES) threads.cma $(LIBDIR)/threads
12 rm -f $(LIBDIR)/threads/stdlib.cma
13 @@ -79,6 +80,7 @@
15 installopt:
16 cp libthreadsnat.$(A) $(LIBDIR)/libthreadsnat.$(A)
17 + cd $(LIBDIR); $(RANLIB) libthreadsnat.$(A)
18 cp $(THREAD_OBJS:.cmo=.cmx) threads.cmxa threads.$(A) $(LIBDIR)/threads
19 cp threads.cmxs $(LIBDIR)/threads