diff options
-rw-r--r-- | bindings/ocaml/Makefile.ocaml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bindings/ocaml/Makefile.ocaml b/bindings/ocaml/Makefile.ocaml index b157c3194e..278b31ea32 100644 --- a/bindings/ocaml/Makefile.ocaml +++ b/bindings/ocaml/Makefile.ocaml @@ -14,9 +14,8 @@ include $(LEVEL)/Makefile.config -# CFLAGS needs to be set before Makefile.rules is included. Yes, ocaml puts its -# includes under its libdir. -CFLAGS += -I$(OCAML_LIBDIR) +# CFLAGS needs to be set before Makefile.rules is included. +CFLAGS += -I$(shell $(OCAMLC) -where) include $(LEVEL)/Makefile.common |