[Pkg-ocaml-maint-commits] [SCM] dh-ocaml packaging branch, master, updated. debian/0.9.3-16-ga443dc6

Stephane Glondu steph at glondu.net
Wed Jun 16 15:18:03 UTC 2010


The following commit has been merged in the master branch:
commit a4727e7c538ec3e2342c0dfcc0b80e8beb58d7c4
Author: Stephane Glondu <steph at glondu.net>
Date:   Wed Jun 9 10:32:04 2010 +0200

    Add OCAML_NATDYNLINK in ocamlvars.mk

diff --git a/share/ocamlvars.mk b/share/ocamlvars.mk
index ecca7c0..fea42bf 100644
--- a/share/ocamlvars.mk
+++ b/share/ocamlvars.mk
@@ -62,6 +62,13 @@ ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
 OCAML_OPT_ARCH      ?= $(DEB_BUILD_ARCH)
 endif
 
+# Variable set to yes on architectures with native dynlink
+ifneq (,$(wildcard $(OCAML_STDLIB_DIR)/dynlink.cmxa))
+  OCAML_NATDYNLINK ?= yes
+else
+  OCAML_NATDYNLINK ?= no
+endif
+
 # OCAML_BEST will be 'opt' on native architectures and 'byte' otherwise.
 OCAML_BEST ?= $(if $(OCAML_OPT_ARCH),opt,byte)
 

-- 
dh-ocaml packaging



More information about the Pkg-ocaml-maint-commits mailing list