mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-05 22:05:47 +00:00
meson: don't look for unix paths on win32
Or meson will complain with: ../meson.build:770:2: ERROR: Search directory /sbin is not an absolute path. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
7cbbd45af1
commit
c69bbd14fa
@ -742,11 +742,15 @@ conf.set('SIZEOF_LONG', cc.sizeof('long'))
|
|||||||
|
|
||||||
# Where we look for daemons and admin binaries during configure
|
# Where we look for daemons and admin binaries during configure
|
||||||
|
|
||||||
libvirt_sbin_path = [
|
libvirt_sbin_path = []
|
||||||
|
|
||||||
|
if host_machine.system() != 'windows'
|
||||||
|
libvirt_sbin_path += [
|
||||||
'/sbin',
|
'/sbin',
|
||||||
'/usr/sbin',
|
'/usr/sbin',
|
||||||
'/usr/local/sbin',
|
'/usr/local/sbin',
|
||||||
]
|
]
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
# required programs check
|
# required programs check
|
||||||
|
Loading…
Reference in New Issue
Block a user