Commit 8b029b54 authored by Colin Walters's avatar Colin Walters Committed by Bastien Nocera

demo: Fix srcdir != builddir, and use libtool for linking

libtool knows how to handle the .la file, don't use -L manually.
parent bccff011
......@@ -2,8 +2,8 @@ noinst_PROGRAMS = where-am-i
where_am_i_SOURCES = where-am-i.c
where_am_i_CFLAGS = -I$(top_srcdir)/src \
-I$(top_builddir)/src \
$(GEOCLUE_CFLAGS) \
-DLOCALEDIR="\"$(datadir)/locale\""
where_am_i_LDADD = -L$(top_srcdir)/src \
-lgeoclue-1.0 \
where_am_i_LDADD = $(top_builddir)/src/libgeoclue-1.0.la \
$(GEOCLUE_LIBS)
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