meson: tests: fix build of tcp test on unix

Need to add gio-unix-2.0 dep to pipelines/tcp test otherwise it
won't find the gio/gunixfdmessage.h header which is not in the
same dir as the other gio headers. This issue was masked before
because we didn't include config.h so HAVE_GIO_UNIX_2_0
wasn't defined.
This commit is contained in:
Tim-Philipp Müller 2018-01-16 19:22:16 +00:00
parent 9297da71ce
commit d09c38faf7

View file

@ -62,7 +62,7 @@ base_tests = [
[ 'pipelines/oggmux.c', not ogg_dep.found(), [ ogg_dep, ] ],
[ 'pipelines/streamsynchronizer.c' ],
# FIXME: tcp test on windows/msvc
[ 'pipelines/tcp.c', not core_conf.has('HAVE_SYS_SOCKET_H') or not core_conf.has('HAVE_UNISTD_H') ],
[ 'pipelines/tcp.c', not core_conf.has('HAVE_SYS_SOCKET_H') or not core_conf.has('HAVE_UNISTD_H'), [giounix_dep] ],
[ 'pipelines/theoraenc.c', not theoraenc_dep.found(), [ theoraenc_dep ] ],
[ 'pipelines/vorbisenc.c', not vorbisenc_dep.found() ],
[ 'pipelines/vorbisdec.c', not vorbisenc_dep.found(),],