From a34b1f793e18ee8df23805e138312c97ba1d4e22 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 25 Mar 2020 14:08:51 +0100 Subject: [PATCH] build: link nm-dispatcher with libnm-glib-aux.la Our glib based code should also include our static utility library libnm-glib-aux. This is our basic utility library that we want to have around everywhere. Since we link statically, the linker will weed out the unused stuff at compile time. So, there is no overhead, except for the things that we actually use. --- Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.am b/Makefile.am index 4cbf9aa8e8..7580e993d5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4166,6 +4166,9 @@ dispatcher_nm_dispatcher_LDFLAGS = \ dispatcher_nm_dispatcher_LDADD = \ dispatcher/libnm-dispatcher-core.la \ libnm/libnm.la \ + shared/nm-glib-aux/libnm-glib-aux.la \ + shared/nm-std-aux/libnm-std-aux.la \ + shared/libcsiphash.la \ $(GLIB_LIBS) dispatcher/org.freedesktop.nm_dispatcher.service: $(srcdir)/dispatcher/org.freedesktop.nm_dispatcher.service.in