aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2014-01-17 11:58:18 +0100
committerAleksander Morgado <aleksander@aleksander.es>2014-01-17 11:58:18 +0100
commitafabde0f2c710302024d4fd40c8d719d4196ded6 (patch)
tree639dab7109b55ae1546bd2e52d300440c090e038
parent22eb8816f1711d9903c9de55d5a99f6bdaad6c50 (diff)
build: fix linker flags when building plugins
MM_LIBS was missing in PLUGIN_COMMON_LINKER_FLAGS, and replace GUDEV_LDFLAGS with GUDEV_LIBS.
-rw-r--r--plugins/Makefile.am5
1 files 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