From: Paolo Bonzini Date: Sun, 9 Aug 2020 21:47:45 +0000 (+0200) Subject: meson: add solaris and Haiku libraries X-Git-Tag: v5.2.0-rc0~175^2~112 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cfad62f1fa019b7c921112ae7c1e4c6fbf087929;p=thirdparty%2Fqemu.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 --- diff --git a/meson.build b/meson.build index d9758629cc9..8d764a94318 100644 --- a/meson.build +++ b/meson.build @@ -66,6 +66,14 @@ elif targetos == 'darwin' iokit = dependency('appleframeworks', modules: 'IOKit') cocoa = dependency('appleframeworks', modules: 'Cocoa') 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 glib = declare_dependency(compile_args: config_host['GLIB_CFLAGS'].split(), link_args: config_host['GLIB_LIBS'].split())