mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
meson: use pkg-config method for libudev
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
0dbce6efb5
commit
a0fbbb6eb8
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue