From afabde0f2c710302024d4fd40c8d719d4196ded6 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Fri, 17 Jan 2014 11:58:18 +0100 Subject: [PATCH] build: fix linker flags when building plugins MM_LIBS was missing in PLUGIN_COMMON_LINKER_FLAGS, and replace GUDEV_LDFLAGS with GUDEV_LIBS. --- plugins/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 5c3a8b0d..07e53e72 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -15,7 +15,8 @@ PLUGIN_COMMON_COMPILER_FLAGS = \ -I$(top_builddir)/libmm-glib/generated PLUGIN_COMMON_LINKER_FLAGS = \ - $(GUDEV_LDFLAGS) \ + $(GUDEV_LIBS) \ + $(MM_LIBS) \ -module \ -avoid-version @@ -46,7 +47,7 @@ libmm_utils_icera_la_SOURCES = \ icera/mm-broadband-bearer-icera.h \ icera/mm-broadband-bearer-icera.c libmm_utils_icera_la_CPPFLAGS = $(PLUGIN_COMMON_COMPILER_FLAGS) -libmm_utils_icera_la_LIBADD = $(GUDEV_LDFLAGS) +libmm_utils_icera_la_LIBADD = $(GUDEV_LIBS) $(MM_LIBS) ICERA_COMMON_COMPILER_FLAGS = -I$(top_srcdir)/plugins/icera ICERA_COMMON_LIBADD_FLAGS = $(builddir)/libmm-utils-icera.la