On 3/10/20 10:05 AM, Richard W.M. Jones wrote:
You have to use: ../libguestfs/run ./configure ../libguestfs/run make
Use of the second ../libguestfs/run against make is unfortunate but I believe it's unavoidable due to the way that ocamlfind works.
Or even: ../libguestfs/run sh -c './configure && make' But yes, the need to set the environment multiple times makes sense, even if it is unfortunate that 'make' is unable to rely solely on what was learned at configure-time.
--- .gitignore | 1 + ocaml/Makefile.am | 19 ++++++++++++++++++- run.in | 2 ++ 3 files changed, 21 insertions(+), 1 deletion(-)
-- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org