diff options
author | Peter Zotov <whitequark@whitequark.org> | 2014-12-23 13:09:59 +0000 |
---|---|---|
committer | Peter Zotov <whitequark@whitequark.org> | 2014-12-23 13:09:59 +0000 |
commit | 127090dd75530a4e4684cbf775f915010c422bd6 (patch) | |
tree | e945d818603f4fcc1cd4858137ba94c6ca5984ba /bindings | |
parent | a098c770e1f96f6f728cc220ae6f4f5297d0603d (diff) |
[OCaml] PR22014: OCaml bindings didn't link to libLLVM-*.so with -Wl,--as-needed
Patch by Evangelos Foutras <evangelos@foutrelis.com>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224766 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/ocaml/Makefile.ocaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bindings/ocaml/Makefile.ocaml b/bindings/ocaml/Makefile.ocaml index 5e00cf59c4c..ac719de3a5b 100644 --- a/bindings/ocaml/Makefile.ocaml +++ b/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) |