diff --git a/os/meson.build b/os/meson.build index 8ae62fbea9..f36da378a9 100644 --- a/os/meson.build +++ b/os/meson.build @@ -65,6 +65,8 @@ if host_machine.system() == 'sunos' os_c_args += '-D_XOPEN_SOURCE=700' os_c_args += '-D_XOPEN_SOURCE_EXTENDED=1' os_c_args += '-D__EXTENSIONS__' + os_dep += cc.find_library('socket') + os_dep += cc.find_library('nsl') endif if get_option('xres')