mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-13 21:35:02 +00:00
trivial: don't require libgusb when building as a subproject on Windows
This commit is contained in:
parent
2319f19306
commit
ef282b699f
@ -510,7 +510,7 @@ conf.set_quoted('FWUPD_PLUGINDIR', plugin_dir)
|
||||
endif
|
||||
|
||||
# sanity check, otherwise there is not point building
|
||||
if host_machine.system() == 'windows' and not gusb.found()
|
||||
if build_standalone and host_machine.system() == 'windows' and not gusb.found()
|
||||
error('gusb feature is required for Windows build')
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user