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

Bug#859969: 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
.a, .cmx and .cmxa will be generated.

F.
diff -Nru ocaml-dtools-0.3.1/debian/libdtools-ocaml-dev.install.in ocaml-dtools-0.3.1/debian/libdtools-ocaml-dev.install.in
--- ocaml-dtools-0.3.1/debian/libdtools-ocaml-dev.install.in	2013-05-09 00:54:19.000000000 +0000
+++ ocaml-dtools-0.3.1/debian/libdtools-ocaml-dev.install.in	2013-05-09 00:54:35.000000000 +0000
@@ -1 +1,2 @@
-src/META src/*.a src/*.cm* src/*.mli @OCamlStdlibDir@/dtools
+src/META src/*.cm* src/*.mli @OCamlStdlibDir@/dtools
+OPT: src/*.a

Attachment: pgpD1lVznV_02.pgp
Description: PGP signature


Reply to: