mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
build: integrate ocaml-link.sh with automake silent rules
In case either the silent rules are disabled, or V=1 is set, print the
full command line that is executed.
(cherry picked from commit a8006afaf5)
This commit is contained in:
committed by
Richard W.M. Jones
parent
1f026244ba
commit
53a7f2ffec
@@ -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@ \
|
||||
|
||||
Reference in New Issue
Block a user