build,meson: Fix libmm-test-common name and dependencies

`libmm-test-common` is created using underscores. It also uses
`gio-unix-2.0` as a public dependency but actually it should be
private.

Both issues have been fixed.
This commit is contained in:
Iñigo Martínez
2021-09-09 14:30:13 +02:00
committed by Aleksander Morgado
parent ab805e0914
commit db2d2c0ceb

View File

@@ -12,16 +12,15 @@ sources = files(
)
deps = [
gio_unix_dep,
libhelpers_dep,
libmm_test_generated_dep,
]
libmm_test_common = shared_library(
'mm_test_common',
'mm-test-common',
sources: sources,
include_directories: top_inc,
dependencies: deps,
dependencies: deps + [gio_unix_dep],
c_args: '-DTEST_SERVICES="@0@"'.format(source_root / 'data/tests'),
)