[llvm-commits] [llvm] r42927 - /llvm/trunk/bindings/ocaml/Makefile.ocaml
Gordon Henriksen
gordonhenriksen at mac.com
Fri Oct 12 12:48:14 PDT 2007
Author: gordon
Date: Fri Oct 12 14:48:13 2007
New Revision: 42927
URL: http://llvm.org/viewvc/llvm-project?rev=42927&view=rev
Log:
Fix ocaml bindings for picky linkers. :)
Thanks to Török Edvin for helping to track this down.
Modified:
llvm/trunk/bindings/ocaml/Makefile.ocaml
Modified: llvm/trunk/bindings/ocaml/Makefile.ocaml
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/bindings/ocaml/Makefile.ocaml?rev=42927&r1=42926&r2=42927&view=diff
==============================================================================
--- llvm/trunk/bindings/ocaml/Makefile.ocaml (original)
+++ llvm/trunk/bindings/ocaml/Makefile.ocaml Fri Oct 12 14:48:13 2007
@@ -38,8 +38,9 @@
# Tools
OCAMLCFLAGS += -I $(OcamlDir) -I $(ObjDir)
OCAMLAFLAGS += $(patsubst %,-cclib %, \
- $(filter-out -L$(LibDir),$(shell $(LLVM_CONFIG) --ldflags)) \
- $(UsedLibs) -l$(LIBRARYNAME))
+ $(filter-out -L$(LibDir),-l$(LIBRARYNAME) \
+ $(shell $(LLVM_CONFIG) --ldflags)) \
+ $(UsedLibs))
Compile.CMI := $(strip $(OCAMLC) -c $(OCAMLCFLAGS) -o)
Compile.CMO := $(strip $(OCAMLC) -c $(OCAMLCFLAGS) -o)
More information about the llvm-commits
mailing list