[geocode-glib] build: Simplify tests linking a little
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geocode-glib] build: Simplify tests linking a little
- Date: Tue, 17 Jan 2017 10:42:27 +0000 (UTC)
commit d6fc128646472ad5f503fdf7339eca41408b1366
Author: Philip Withnall <philip tecnocode co uk>
Date: Tue Jan 17 10:41:06 2017 +0000
build: Simplify tests linking a little
Instead of repeating the same LDADD list for each test, just use the
global LDADD variable.
https://bugzilla.gnome.org/show_bug.cgi?id=772928
geocode-glib/tests/Makefile.am | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/geocode-glib/tests/Makefile.am b/geocode-glib/tests/Makefile.am
index b3a0fb3..41b76ce 100644
--- a/geocode-glib/tests/Makefile.am
+++ b/geocode-glib/tests/Makefile.am
@@ -17,14 +17,16 @@ AM_LDFLAGS = \
$(WARN_LDFLAGS) \
$(NULL)
+LDADD = \
+ $(top_builddir)/geocode-glib/libgeocode-glib.la \
+ $(GEOCODE_LIBS) \
+ $(NULL)
+
test_programs = \
geo-uri \
geocode-glib \
$(NULL)
-geo_uri_LDADD = $(top_builddir)/geocode-glib/libgeocode-glib.la $(GEOCODE_LIBS)
-geocode_glib_LDADD = $(top_builddir)/geocode-glib/libgeocode-glib.la $(GEOCODE_LIBS)
-
geo_uri_SOURCES = geo-uri.c
geocode_glib_SOURCES = \
geocode-nominatim-test.h \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]