summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Zotov <whitequark@whitequark.org>2014-12-23 13:09:59 +0000
committerPeter Zotov <whitequark@whitequark.org>2014-12-23 13:09:59 +0000
commit4ab66cdfcb85b6a9a54f82bb1208fb15e6a00651 (patch)
tree9ff5c3da69ca67ded900f32f6e3afe45e359f2ba
parentbe8032c8752901096eadea53c5b3390db5df81d0 (diff)
downloadbcm5719-llvm-4ab66cdfcb85b6a9a54f82bb1208fb15e6a00651.tar.gz
bcm5719-llvm-4ab66cdfcb85b6a9a54f82bb1208fb15e6a00651.zip
[OCaml] PR22014: OCaml bindings didn't link to libLLVM-*.so with -Wl,--as-needed
Patch by Evangelos Foutras <evangelos@foutrelis.com>. llvm-svn: 224766
-rw-r--r--llvm/bindings/ocaml/Makefile.ocaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/bindings/ocaml/Makefile.ocaml b/llvm/bindings/ocaml/Makefile.ocaml
index 5e00cf59c4c..ac719de3a5b 100644
--- a/llvm/bindings/ocaml/Makefile.ocaml
+++ b/llvm/bindings/ocaml/Makefile.ocaml
@@ -237,8 +237,8 @@ uninstall-local:: uninstall-shared
$(SharedLib): $(ObjectsO) $(OcamlDir)/.dir
$(Echo) "Building $(BuildMode) $(notdir $@)"
- $(Verb) $(Link) $(SharedLinkOptions) $(OCAMLRPATH) $(LLVMLibsOptions) \
- -o $@ $(ObjectsO)
+ $(Verb) $(Link) $(SharedLinkOptions) $(OCAMLRPATH) -o $@ $(ObjectsO) \
+ $(LLVMLibsOptions)
clean-shared::
-$(Verb) $(RM) -f $(SharedLib)
OpenPOWER on IntegriCloud