[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#859966: Make native related files optional on bytecode archs



Hi,
on bytecode only architectures, the native related files won't be compiled because
ocamlopt is not available in ocaml. So I made those files optional in the attached patch.
Note that on ppc64el, ocamlopt is available starting with ocaml 4.03 and
.cmx and .cmxa will be generated.

F.
diff -u ocaml-ao-0.2.0/debian/libao-ocaml-dev.install.in ocaml-ao-0.2.0/debian/libao-ocaml-dev.install.in
--- ocaml-ao-0.2.0/debian/libao-ocaml-dev.install.in
+++ ocaml-ao-0.2.0/debian/libao-ocaml-dev.install.in
@@ -1 +1,2 @@
-src/META src/*.a src/*.cma src/*.cmi src/*.cmx src/*.cmxa src/*.mli @OCamlStdlibDir@/ao
+src/META src/*.a src/*.cma src/*.cmi src/*.mli @OCamlStdlibDir@/ao
+OPT: src/*.cmx src/*.cmxa 

Attachment: pgp6vgrAAfLrY.pgp
Description: PGP signature


Reply to: