Commit d6fc1286 authored by Philip Withnall's avatar Philip Withnall
Browse files

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
parent f1650bec
......@@ -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 \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment