build: Remove test for libmagic

libmagic (part of the "file" command) was required in earlier versions
of libguestfs, but this requirement was effectively removed in
commit b48da89dd6 ("daemon: Reimplement ‘file_architecture’ API in
OCaml") back in 2017.  Or to be more precise, we now use the "file"
command inside the daemon, which may or may not use libmagic but we
no longer link to the library directly.

Reported-by: Mohamed Akram
Fixes: commit b48da89dd6
Related: https://github.com/libguestfs/libguestfs/issues/184
This commit is contained in:
Richard W.M. Jones
2025-04-22 11:59:25 +01:00
parent 632937d8fb
commit 2b2be31af0
2 changed files with 0 additions and 14 deletions

View File

@@ -195,10 +195,6 @@ Optional if compiling from tarball.
I<Required>. ocaml-hivex is the OCaml binding for hivex, which is
required when building the daemon.
=item libmagic
I<Required>. This is the library used by the L<file(1)> command.
=item libvirt E<ge> 0.10.2
Optional. Always use the latest possible version of libvirt.