mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
daemon_utils_tests: generalize ocaml-hivex[-devel] lookup
Pass $(HIVEX_LIBS) with -cclib under the "daemon_utils_tests_LINK" target; otherwise the OCaml compiler does not tell the linker where "-lhivex" can be found, and the linking step fails if "-lhivex" is not on a system library path. Signed-off-by: Laszlo Ersek <lersek@redhat.com> Message-Id: <20210908133542.19002-3-lersek@redhat.com> Acked-by: Richard W.M. Jones <rjones@redhat.com>
This commit is contained in:
@@ -453,7 +453,7 @@ daemon_utils_tests_DEPENDENCIES = \
|
||||
$(top_builddir)/ocaml-link.sh
|
||||
daemon_utils_tests_LINK = \
|
||||
$(top_builddir)/ocaml-link.sh \
|
||||
-cclib '-lutils -lgnu' \
|
||||
-cclib '-lutils -lgnu $(HIVEX_LIBS)' \
|
||||
-- \
|
||||
$(OCAMLFIND) $(BEST) $(OCAMLFLAGS) $(OCAMLLINKFLAGS) \
|
||||
$(OCAMLPACKAGES) \
|
||||
|
||||
Reference in New Issue
Block a user