meson: check for libsocket and libnsl
authorTim Mooney <Tim.Mooney@ndsu.edu>
Sat, 15 Jan 2022 06:04:05 +0000 (00:04 -0600)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 17 Feb 2022 18:44:49 +0000 (18:44 +0000)
commit97720dabe02bcbdd733395b7bc61dc01d236dc51
tree68d41e3099d35ed5bf02a1db5270970ba6e6b76f
parent55ceddff91803484c3d483a0f3fdbfd38e98824d
meson: check for libsocket and libnsl

If present, add '-lsocket' and '-lnsl' to network_deps.

ext/curl/meson.build: add network_deps to dependencies
gst/festival/meson.build: same
sys/shm/meson.build: same

Fixes linking issues on Illumos distros.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1525>
subprojects/gst-plugins-bad/ext/curl/meson.build
subprojects/gst-plugins-bad/gst/festival/meson.build
subprojects/gst-plugins-bad/meson.build
subprojects/gst-plugins-bad/sys/shm/meson.build