From 528d1365c90fe46226bbd00b9158b2bb7107b68c Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Mon, 1 Aug 2016 16:39:28 +0200 Subject: [PATCH] libnm: link with libdl Not default when linking with GOLD linker, but used for loading the VPN plugins. We still get it when using NSS by dumb luck, but GnuTLS doesn't drag it in. https://bugzilla.gnome.org/show_bug.cgi?id=769328 (cherry picked from commit b01219ad1b3428bb9d8be02d661ec3d0cebd2209) --- libnm/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/libnm/Makefile.am b/libnm/Makefile.am index e035b3cda2..184bdbdc43 100644 --- a/libnm/Makefile.am +++ b/libnm/Makefile.am @@ -137,6 +137,7 @@ GLIB_MKENUMS_C_FLAGS = --identifier-prefix NM --fhead '\#include "nm-default.h"\ libnm_la_LIBADD = \ $(top_builddir)/libnm-core/libnm-core.la \ $(top_builddir)/introspection/libnmdbus.la \ + $(LIBDL) \ $(GLIB_LIBS) \ $(UUID_LIBS) \ $(GUDEV_LIBS)