From: Andrea Bolognani Date: Thu, 30 Nov 2023 17:21:43 +0000 (+0100) Subject: meson: Stop looking for scrub at build time X-Git-Tag: v10.0.0-rc1~134 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=58b17ce7890732a35f2862afdf1013160943845c;p=thirdparty%2Flibvirt.git meson: Stop looking for scrub at build time We only use it at runtime, not during the build process. Signed-off-by: Andrea Bolognani Reviewed-by: Pavel Hrdina --- diff --git a/meson.build b/meson.build index fdff8dcb97..fa4062df2f 100644 --- a/meson.build +++ b/meson.build @@ -818,7 +818,6 @@ optional_programs = [ 'pdwtags', 'pytest', 'rmmod', - 'scrub', 'tc', ] diff --git a/src/storage/storage_util.c b/src/storage/storage_util.c index 7243308a02..7bf815d978 100644 --- a/src/storage/storage_util.c +++ b/src/storage/storage_util.c @@ -73,6 +73,7 @@ VIR_LOG_INIT("storage.storage_util"); #endif #define PARTED "parted" +#define SCRUB "scrub" /* virStorageBackendNamespaceInit: * @poolType: virStoragePoolType