]> git.pld-linux.org Git - packages/ocaml-idl.git/blob - no-opt.patch
- added ocaml_opt patch
[packages/ocaml-idl.git] / no-opt.patch
1 --- camlidl-1.05/lib/Makefile~  2002-04-22 11:50:47.000000000 +0000
2 +++ camlidl-1.05/lib/Makefile   2015-04-06 11:32:04.970899900 +0000
3 @@ -28,8 +28,13 @@
4  $(NATIVELIB): $(NATIVEOBJS)
5         $(OCAMLOPT) -a -o $(NATIVELIB) $(NATIVEOBJS)
6  
7 -install:
8 -       cp $(INTERFACES) $(BYTELIB) $(NATIVELIB) $(NATIVELIB:.cmxa=.$(LIBEXT)) $(OCAMLLIB)
9 +install: install-byte $(NATIVELIB:install-opt)
10 +
11 +install-byte:
12 +       cp $(INTERFACES) $(BYTELIB) $(OCAMLLIB)
13 +
14 +install-opt:
15 +       cp $(NATIVELIB) $(NATIVELIB:.cmxa=.$(LIBEXT))
16         cd $(OCAMLLIB); $(RANLIB) $(NATIVELIB:.cmxa=.$(LIBEXT))
17  
18  .SUFFIXES: .mli .ml .cmi .cmo .cmx
This page took 0.08581 seconds and 3 git commands to generate.