Roman Bogorodskiy wrote: > Currently, getifaddrs() fails to get detected on illumos > because it requires linking with libsocket which meson > is not doing. > > Fix by adding socket to getifaddrs dependencies. This > unlocks 'guest-network-get-interfaces' implementation > for illumos. > > Signed-off-by: Roman Bogorodskiy <[email protected]> > --- > meson.build | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meson.build b/meson.build > index 432a333f56..20407024fa 100644 > --- a/meson.build > +++ b/meson.build > @@ -2644,7 +2644,7 @@ config_host_data.set('CONFIG_TIMERFD', > cc.has_function('timerfd_create')) > config_host_data.set('CONFIG_GETLOADAVG', cc.has_function('getloadavg')) > config_host_data.set('CONFIG_ARPA_INET_64', cc.has_function('htonll')) > config_host_data.set('HAVE_COPY_FILE_RANGE', > cc.has_function('copy_file_range')) > -config_host_data.set('HAVE_GETIFADDRS', cc.has_function('getifaddrs')) > +config_host_data.set('HAVE_GETIFADDRS', cc.has_function('getifaddrs', > dependencies: socket)) > config_host_data.set('HAVE_GLIB_WITH_SLICE_ALLOCATOR', glib_has_gslice) > config_host_data.set('HAVE_OPENPTY', cc.has_function('openpty', > dependencies: util)) > config_host_data.set('HAVE_STRCHRNUL', cc.has_function('strchrnul', prefix: > osdep_prefix)) > -- > 2.55.0 >
ping? (for meson.build changes)
