From 20c955fd61d0c7b6b4ed0332e6eaeff7b7ccbaa8 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 24 Feb 2021 20:08:05 +0100 Subject: [PATCH] build/meson: don't link static library libnm_client_impl with helper Per convention, we shall no link our static libraries with other static libraries of our own. The purpose is that we only link static libraries at the end of each build product (that is, in executables, shared libraries and shared modules). --- src/libnm-client-impl/meson.build | 1 - src/libnm-client-impl/tests/meson.build | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libnm-client-impl/meson.build b/src/libnm-client-impl/meson.build index e80ef79866..290c668948 100644 --- a/src/libnm-client-impl/meson.build +++ b/src/libnm-client-impl/meson.build @@ -65,7 +65,6 @@ libnm_client_impl = static_library( libudev_dep, glib_dep, ], - link_with: libnm_log_null, ) linker_script = join_paths(meson.current_source_dir(), 'libnm.ver') diff --git a/src/libnm-client-impl/tests/meson.build b/src/libnm-client-impl/tests/meson.build index e1955d0b3c..b411ad4067 100644 --- a/src/libnm-client-impl/tests/meson.build +++ b/src/libnm-client-impl/tests/meson.build @@ -29,6 +29,7 @@ foreach test_unit: test_units libnm_base, libnm_udev_aux, libnm_systemd_shared, + libnm_log_null, libnm_glib_aux, libnm_std_aux, libc_siphash,