mirror of https://gitee.com/openkylin/qemu.git
meson: add solaris and Haiku libraries
There is no probing in configure, so no need to pass them as variables to meson. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
d92989aa2e
commit
cfad62f1fa
|
@ -66,6 +66,14 @@ elif targetos == 'darwin'
|
||||||
iokit = dependency('appleframeworks', modules: 'IOKit')
|
iokit = dependency('appleframeworks', modules: 'IOKit')
|
||||||
cocoa = dependency('appleframeworks', modules: 'Cocoa')
|
cocoa = dependency('appleframeworks', modules: 'Cocoa')
|
||||||
hvf = dependency('appleframeworks', modules: 'Hypervisor')
|
hvf = dependency('appleframeworks', modules: 'Hypervisor')
|
||||||
|
elif targetos == 'sunos'
|
||||||
|
socket = [cc.find_library('socket'),
|
||||||
|
cc.find_library('nsl'),
|
||||||
|
cc.find_library('resolv')]
|
||||||
|
elif targetos == 'haiku'
|
||||||
|
socket = [cc.find_library('posix_error_mapper'),
|
||||||
|
cc.find_library('network'),
|
||||||
|
cc.find_library('bsd')]
|
||||||
endif
|
endif
|
||||||
glib = declare_dependency(compile_args: config_host['GLIB_CFLAGS'].split(),
|
glib = declare_dependency(compile_args: config_host['GLIB_CFLAGS'].split(),
|
||||||
link_args: config_host['GLIB_LIBS'].split())
|
link_args: config_host['GLIB_LIBS'].split())
|
||||||
|
|
Loading…
Reference in New Issue