diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-02-02 10:19:04 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-02-21 10:35:54 +0100 |
commit | b7e4ab15c37424aac14a3492662fa26364269eb4 (patch) | |
tree | 270b6335cce1f899431b6e58457c706d70a393a4 /qga/meson.build | |
parent | e23460ce921168b4172af83043e87ca9bd85e43b (diff) |
meson, configure: move ntddscsi API check to meson
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qga/meson.build')
-rw-r--r-- | qga/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qga/meson.build b/qga/meson.build index d22ecb4187..54f2da5b07 100644 --- a/qga/meson.build +++ b/qga/meson.build @@ -88,7 +88,7 @@ if targetos == 'windows' qga_libs += ['-lole32', '-loleaut32', '-lshlwapi', '-lstdc++', '-Wl,--enable-stdcall-fixup'] subdir('vss-win32') endif - if 'CONFIG_QGA_NTDDSCSI' in config_host + if have_ntddscsi qga_libs += ['-lsetupapi', '-lcfgmgr32'] endif endif |