platform/build: fix linking "test-nm-platform" test

libnm-platform.la depends on libnm-udev-aux and libnm-base.
Only by accident this was working, because we happened to use
no symbol in the test that required any of these dependencies.

A small change to the test can (and will soon) change that. Fix the
build to link the right library.

(cherry picked from commit f992b2bc25)
This commit is contained in:
Thomas Haller 2021-08-30 18:48:31 +02:00
parent f7d8d4f548
commit 25bfa2f8a5
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -650,6 +650,8 @@ src_libnm_platform_tests_test_nm_platform_LDFLAGS = \
src_libnm_platform_tests_test_nm_platform_LDADD = \
src/libnm-platform/libnm-platform.la \
src/libnm-udev-aux/libnm-udev-aux.la \
src/libnm-base/libnm-base.la \
src/libnm-log-core/libnm-log-core.la \
src/libnm-glib-aux/libnm-glib-aux.la \
src/libnm-std-aux/libnm-std-aux.la \