projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a30b0ee
)
Do use the actual ocaml stdlib (not the install dir) to find the
author
Gordon Henriksen
<gordonhenriksen@mac.com>
Thu, 4 Oct 2007 00:07:50 +0000
(
00:07
+0000)
committer
Gordon Henriksen
<gordonhenriksen@mac.com>
Thu, 4 Oct 2007 00:07:50 +0000
(
00:07
+0000)
caml/*.h headers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42599
91177308
-0d34-0410-b5e6-
96231b3b80d8
bindings/ocaml/Makefile.ocaml
patch
|
blob
|
history
diff --git
a/bindings/ocaml/Makefile.ocaml
b/bindings/ocaml/Makefile.ocaml
index b157c3194eb64d0a4f81b0d2e60fb900453c0632..278b31ea3223f7d17eee562b99c15948cc9ad330 100644
(file)
--- 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