X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=ocaml%2FMakefile.am;fp=ocaml%2FMakefile.am;h=b97fe3728731c122be810554fbffa96c9be728b8;hb=b8ad15031cacf910634b4f4f4632232949c4acd2;hp=e61b5dba18fc242308a8c2ffc407560c09e7b863;hpb=79bdfa30ae1b8613211339b6318fc7cb2887bf5e;p=hivex.git diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am index e61b5db..b97fe37 100644 --- a/ocaml/Makefile.am +++ b/ocaml/Makefile.am @@ -94,7 +94,12 @@ install-data-hook: $(OCAMLFIND) install \ -ldconf ignore -destdir $(DESTDIR)$(OCAMLLIB) \ hivex \ - META *.so *.a *.cma *.cmx *.cmxa *.cmi *.mli + META *.so *.a *.cma *.cmi *.mli +if HAVE_OCAMLOPT + $(OCAMLFIND) install \ + -ldconf ignore -destdir $(DESTDIR)$(OCAMLLIB) \ + *.cmx *.cmxa +endif CLEANFILES += $(noinst_DATA)