diff --git a/tools/ocaml/common.make b/tools/ocaml/common.make index c7eefceeb4..0e6714e25a 100644 --- a/tools/ocaml/common.make +++ b/tools/ocaml/common.make @@ -11,6 +11,7 @@ OCAMLFIND ?= ocamlfind CFLAGS += -fPIC -I$(shell ocamlc -where) +OCAMLINCLUDE += -I +unix -I +dynlink OCAMLOPTFLAGS = -g -ccopt "$(LDFLAGS)" -dtypes $(OCAMLINCLUDE) -w F -warn-error F OCAMLCFLAGS += -g $(OCAMLINCLUDE) -w F -warn-error F