File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ udev = dependency('libudev')
4949# Only x86_64 and aarch64 have a seccomp_extra_arches table in
5050# gnome-desktop-thumbnail-script.c, so refuse the option elsewhere.
5151bwrap_opt = get_option (' bubblewrap' )
52+ bwrap_arch_ok = host_machine .cpu_family() in [' x86_64' , ' aarch64' ]
5253if host_machine .cpu_family() not in [' x86_64' , ' aarch64' ]
5354 if bwrap_opt.enabled()
5455 error (' bubblewrap sandbox is not supported on @0@' .format(host_machine .cpu_family()))
@@ -57,7 +58,7 @@ if host_machine.cpu_family() not in ['x86_64', 'aarch64']
5758endif
5859seccomp = dependency (' libseccomp' , required : bwrap_opt)
5960fontconfig = dependency (' fontconfig' , required : bwrap_opt)
60- have_bwrap = seccomp.found() and fontconfig.found()
61+ have_bwrap = bwrap_arch_ok and not bwrap_opt.disabled() and seccomp.found() and fontconfig.found()
6162
6263cinnamon_deps = [
6364 gdk_pixb,
You can’t perform that action at this time.
0 commit comments