[tracker/direct-access: 33/121] libtracker-direct: Fix build



commit 780e92d28ac4511c4d7ad365b0fd37b2c4922ec0
Author: Jürg Billeter <j bitron ch>
Date:   Thu Jul 8 10:01:50 2010 +0200

    libtracker-direct: Fix build

 src/libtracker-direct/Makefile.am  |    4 ++++
 tests/functional-tests/Makefile.am |    5 -----
 2 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/src/libtracker-direct/Makefile.am b/src/libtracker-direct/Makefile.am
index e74309e..5c9d4cc 100644
--- a/src/libtracker-direct/Makefile.am
+++ b/src/libtracker-direct/Makefile.am
@@ -47,6 +47,10 @@ libtracker-direct.vala.stamp: $(libtracker_direct_la_VALASOURCES) $(vapi_sources
 	$(AM_V_GEN)$(VALAC) $(GCOV_VALAFLAGS) -C $(VALAFLAGS) --pkg gio-2.0 -H tracker-direct.h --vapi tracker-direct-$(TRACKER_API_VERSION).vapi $^
 	$(AM_V_GEN)touch $@
 
+libtracker_direct_ TRACKER_API_VERSION@_la_LIBADD = 						\
+	$(top_builddir)/src/libtracker-data/libtracker-data.la	\
+	$(GLIB2_LIBS)
+
 BUILT_SOURCES = 					\
 	libtracker-direct.vala.stamp
 
diff --git a/tests/functional-tests/Makefile.am b/tests/functional-tests/Makefile.am
index 7746d30..ca2c926 100644
--- a/tests/functional-tests/Makefile.am
+++ b/tests/functional-tests/Makefile.am
@@ -62,12 +62,7 @@ direct-test.vala.stamp: $(direct_test_VALASOURCES) $(vapi_sources)
 	$(AM_V_GEN)$(VALAC) $(GCOV_VALAFLAGS) -C $(VALAFLAGS) --pkg gio-2.0 $^
 	$(AM_V_GEN)touch $@
 
-# I need to add libtracker-data.la here, I don't understand yet why. I think
-# that means that something about libtracker-direct or libtracker-sparql is
-# wrong -- Philip
-
 direct_test_LDADD = \
-	$(top_builddir)/src/libtracker-data/libtracker-data.la \
 	$(top_builddir)/src/libtracker-direct/libtracker-direct-$(TRACKER_API_VERSION).la \
 	$(top_builddir)/src/libtracker-sparql/libtracker-sparql-$(TRACKER_API_VERSION).la \
 	$(GLIB2_LIBS)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]