mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[OCaml] PR22014: OCaml bindings didn't link to libLLVM-*.so with -Wl,--as-needed
Patch by Evangelos Foutras <evangelos@foutrelis.com>. llvm-svn: 224766
This commit is contained in:
parent
180649bb38
commit
41942af9a1
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user