mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 05:17:54 +03:00
meson: Rewrite firewalld check
This makes it possible to explicitly disable firewalld support regardless of the platform that's being targeted. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
48fc84a22c
commit
a755b74088
@ -1339,8 +1339,14 @@ if bash_completion_dep.found()
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if host_machine.system() != 'freebsd'
|
|
||||||
if not get_option('firewalld').disabled()
|
if not get_option('firewalld').disabled()
|
||||||
|
firewalld_enable = true
|
||||||
|
|
||||||
|
if host_machine.system() == 'freebsd'
|
||||||
|
firewalld_enable = false
|
||||||
|
endif
|
||||||
|
|
||||||
|
if firewalld_enable
|
||||||
conf.set('WITH_FIREWALLD', 1)
|
conf.set('WITH_FIREWALLD', 1)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user