Do use the actual ocaml stdlib (not the install dir) to find the

caml/*.h headers.

llvm-svn: 42599
This commit is contained in:
Gordon Henriksen 2007-10-04 00:07:50 +00:00
parent 8f1946fa22
commit 14d7680b00
1 changed files with 2 additions and 3 deletions

View File

@ -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