llvm.org GIT mirror llvm / 127090d
[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 Peter Zotov 5 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
236236
237237 $(SharedLib): $(ObjectsO) $(OcamlDir)/.dir
238238 $(Echo) "Building $(BuildMode) $(notdir $@)"
239 $(Verb) $(Link) $(SharedLinkOptions) $(OCAMLRPATH) $(LLVMLibsOptions) \
240 -o $@ $(ObjectsO)
239 $(Verb) $(Link) $(SharedLinkOptions) $(OCAMLRPATH) -o $@ $(ObjectsO) \
240 $(LLVMLibsOptions)
241241
242242 clean-shared::
243243 -$(Verb) $(RM) -f $(SharedLib)