]> xenbits.xensource.com Git - libvirt.git/commit
rpm: tell meson whether to use libssh or libssh2 explicitly
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 28 Oct 2020 12:24:38 +0000 (12:24 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 29 Oct 2020 17:15:47 +0000 (17:15 +0000)
commit0d669b2aa3c85d38980647e549bae576d27e6cec
tree25d4fbdb6391bc8ef53cbe4fdbc7925ed8155f53
parenta44f4f372615add1382014703965d83ffe071aa2
rpm: tell meson whether to use libssh or libssh2 explicitly

The %meson macro sets "--auto-features=enabled", thus any feature in the
RPM which has a "with_XXX" condition, needs to explicitly pass a
"-DXXX=state" arg to %meson to override the auto features setting.

The with_libssh and with_libssh2 conditions were not exposed to meson,
so if either was set disabled, then meson would fail the build if the
-devel packages were not found.

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
libvirt.spec.in