X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=ocaml%2FMakefile.am;h=58fa8e3af9eedfcc6b55e74ed33fbe63d5af96ad;hb=f408b757b1d75429fae5fa7630a4fc5451844de7;hp=e61b5dba18fc242308a8c2ffc407560c09e7b863;hpb=2cf6eef8ff7b7ab642943e67183f0d7491c69f9d;p=hivex.git diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am index e61b5db..58fa8e3 100644 --- a/ocaml/Makefile.am +++ b/ocaml/Makefile.am @@ -94,7 +94,13 @@ 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) \ + hivex \ + *.cmx *.cmxa +endif CLEANFILES += $(noinst_DATA)