mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +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
14
meson.build
14
meson.build
@ -742,11 +742,15 @@ conf.set('SIZEOF_LONG', cc.sizeof('long'))
|
||||
|
||||
# Where we look for daemons and admin binaries during configure
|
||||
|
||||
libvirt_sbin_path = [
|
||||
'/sbin',
|
||||
'/usr/sbin',
|
||||
'/usr/local/sbin',
|
||||
]
|
||||
libvirt_sbin_path = []
|
||||
|
||||
if host_machine.system() != 'windows'
|
||||
libvirt_sbin_path += [
|
||||
'/sbin',
|
||||
'/usr/sbin',
|
||||
'/usr/local/sbin',
|
||||
]
|
||||
endif
|
||||
|
||||
|
||||
# required programs check
|
||||
|
Loading…
Reference in New Issue
Block a user