diff --git a/os/meson.build b/os/meson.build index f8c060f08..44acba6ba 100644 --- a/os/meson.build +++ b/os/meson.build @@ -65,6 +65,8 @@ if host_machine.system() == 'sunos' os_c_args += '-D_XOPEN_SOURCE=1' 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')