mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Fix ocaml bindings for picky linkers. :)
Thanks to Török Edvin for helping to track this down. llvm-svn: 42927
This commit is contained in:
parent
d781ed9d21
commit
acf0aac0c1
@ -38,8 +38,9 @@ endif
|
||||
# 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)
|
||||
|
Loading…
Reference in New Issue
Block a user