meson: Fix glib-networking build on non-Linux

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7091>
This commit is contained in:
Nirbheek Chauhan 2024-06-23 03:44:55 +05:30
parent a04ed4b91e
commit 6073257bd8

View file

@ -238,7 +238,7 @@ giomodules = []
glib_dep = dependency('glib-2.0')
if glib_dep.type_name() == 'internal'
subp = subproject('glib-networking', required : get_option('tls'),
default_options: ['gnutls=auto', 'openssl=auto'])
default_options: ['gnutls=auto', 'openssl=auto', 'libproxy=auto', 'gnome_proxy=auto'])
if subp.found()
giomodules += subp.get_variable('giomodules', [])
endif