OSDN Git Service

Makefile.ocaml: Tweak to use --system-libs.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 20 Dec 2013 00:36:59 +0000 (00:36 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 20 Dec 2013 00:36:59 +0000 (00:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197758 91177308-0d34-0410-b5e6-96231b3b80d8

bindings/ocaml/Makefile.ocaml

index f8ed841..1b964ee 100644 (file)
@@ -37,7 +37,7 @@ OcamlDir := $(LibDir)/ocaml
 # Info from llvm-config and similar
 ifndef IS_CLEANING_TARGET
 ifdef UsedComponents
-UsedLibs = $(shell $(LLVM_CONFIG) --libs $(UsedComponents))
+UsedLibs = $(shell $(LLVM_CONFIG) --libs --system-libs $(UsedComponents))
 UsedLibNames = $(shell $(LLVM_CONFIG) --libnames $(UsedComponents))
 endif
 endif