Displaying 1 result from an estimated 1 matches for "am_default_verbosity".
2019 Jan 18
1
[PATCH] build: integrate ocaml-link.sh with automake silent rules
...diff --git a/ocaml-link.sh.in b/ocaml-link.sh.in
index 129c6fb0e..ba990f809 100755
--- a/ocaml-link.sh.in
+++ b/ocaml-link.sh.in
@@ -43,6 +43,14 @@ while true ; do
esac
done
+# Integration with silent rules of automake: print the full command
+# line option in verbose mode.
+if [ x"${V:-@AM_DEFAULT_VERBOSITY@}" = x1 ]; then
+ echo "$@" \
+ @OCAML_RUNTIME_VARIANT_PIC_OPTION@ \
+ -linkpkg \
+ -cclib "'@LDFLAGS@ $cclib'"
+fi
# NB -cclib must come last.
exec "$@" \
@OCAML_RUNTIME_VARIANT_PIC_OPTION@ \
--
2.20.1