projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[OCaml] PR22014: OCaml bindings didn't link to libLLVM-*.so with -Wl,--as-needed
[oota-llvm.git]
/
bindings
/
ocaml
/
Makefile.ocaml
diff --git
a/bindings/ocaml/Makefile.ocaml
b/bindings/ocaml/Makefile.ocaml
index 5e00cf59c4c28145543ac22ba0e2f33856f8d517..ac719de3a5b62dbb9f98d0411daada2cf32e225b 100644
(file)
--- 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 $@)"
$(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)
clean-shared::
-$(Verb) $(RM) -f $(SharedLib)