mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-08 04:41:48 +00:00
trivial: workaround for ERROR: Unknown variable "gcab"
This change enables the use of tests in Chrome OS. Fixes #3270
This commit is contained in:
parent
3d7d49c1e1
commit
4fa2a7604a
@ -250,7 +250,6 @@ if build_daemon
|
|||||||
endif
|
endif
|
||||||
libm = cc.find_library('m', required: false)
|
libm = cc.find_library('m', required: false)
|
||||||
libgcab = dependency('libgcab-1.0', version : '>= 1.0', fallback : ['gcab', 'gcab_dep'])
|
libgcab = dependency('libgcab-1.0', version : '>= 1.0', fallback : ['gcab', 'gcab_dep'])
|
||||||
gcab = find_program('gcab', required : get_option('tests'))
|
|
||||||
bashcomp = dependency('bash-completion', required: false)
|
bashcomp = dependency('bash-completion', required: false)
|
||||||
if host_machine.system() != 'freebsd'
|
if host_machine.system() != 'freebsd'
|
||||||
python3 = find_program('python3')
|
python3 = find_program('python3')
|
||||||
@ -587,6 +586,7 @@ if build_daemon and get_option('polkit')
|
|||||||
subdir('policy')
|
subdir('policy')
|
||||||
endif
|
endif
|
||||||
if build_standalone
|
if build_standalone
|
||||||
|
gcab = find_program('gcab', required : get_option('tests'))
|
||||||
subdir('data')
|
subdir('data')
|
||||||
subdir('po')
|
subdir('po')
|
||||||
subdir('libfwupdplugin')
|
subdir('libfwupdplugin')
|
||||||
|
Loading…
Reference in New Issue
Block a user