Re: [PATCH] meson: Only check for openwsman if hyperv is enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 27, 2020 at 03:58:29PM -0600, Jim Fehlig wrote:
> Running meson configure with '-Ddriver_hyperv=disabled' fails with
> 
>   meson.build:1252:0: ERROR: Dependency "openwsman" not found, tried
>   pkgconfig and cmake
> 
> openwsman is only required if the hyperv driver is enabled. Don't
> check for it if hyperv is disabled.
> 
> Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxx>
> ---
> 
> There are likely other ways to fix the problem, this being a meson
> noobish one :-).

You are probably using some other options as well because running:

    meson build -Ddriver_hyperv=disabled

will not fail if openwsman is missing. The default for openwsman is
'auto'.

Pavel

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux