mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 23:31:37 +00:00
Fix ocaml bindings for picky linkers. :)
Thanks to Török Edvin for helping to track this down. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42927 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2e4d675d93
commit
ed29a28464
@ -38,8 +38,9 @@ endif
|
|||||||
# Tools
|
# Tools
|
||||||
OCAMLCFLAGS += -I $(OcamlDir) -I $(ObjDir)
|
OCAMLCFLAGS += -I $(OcamlDir) -I $(ObjDir)
|
||||||
OCAMLAFLAGS += $(patsubst %,-cclib %, \
|
OCAMLAFLAGS += $(patsubst %,-cclib %, \
|
||||||
$(filter-out -L$(LibDir),$(shell $(LLVM_CONFIG) --ldflags)) \
|
$(filter-out -L$(LibDir),-l$(LIBRARYNAME) \
|
||||||
$(UsedLibs) -l$(LIBRARYNAME))
|
$(shell $(LLVM_CONFIG) --ldflags)) \
|
||||||
|
$(UsedLibs))
|
||||||
|
|
||||||
Compile.CMI := $(strip $(OCAMLC) -c $(OCAMLCFLAGS) -o)
|
Compile.CMI := $(strip $(OCAMLC) -c $(OCAMLCFLAGS) -o)
|
||||||
Compile.CMO := $(strip $(OCAMLC) -c $(OCAMLCFLAGS) -o)
|
Compile.CMO := $(strip $(OCAMLC) -c $(OCAMLCFLAGS) -o)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user