From: Paolo Bonzini Date: Tue, 17 Nov 2020 11:36:15 +0000 (+0100) Subject: meson: use pkg-config method for libudev X-Git-Tag: v6.0.0-rc0~157^2~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a0fbbb6eb8b52b88e1756814dc661edd747ec481;p=thirdparty%2Fqemu.git meson: use pkg-config method for libudev Reviewed-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- diff --git a/meson.build b/meson.build index 022272f4cfb..0e70fe7a894 100644 --- a/meson.build +++ b/meson.build @@ -403,6 +403,7 @@ endif libudev = not_found if targetos == 'linux' and (have_system or have_tools) libudev = dependency('libudev', + method: 'pkg-config', required: get_option('libudev'), static: enable_static) endif