Blob Blame History Raw
From db5f24e10dcc4737cccaf8f5146f2bb165f8a91e Mon Sep 17 00:00:00 2001
From: Patrick Ohly <>
Date: Wed, 23 Oct 2013 08:37:35 +0000
Subject: autotools: fix make error

Adding link flags to the dependencies only works
for .la file. This started to break on Debian Testing (?) because
a -L<something> flag became a dependency.

A proper fix would be to set libs and dependencies separately,
but for now it is easier to rely on GNU make and filter for the
desired .la files.
diff --git a/src/syncevo/ b/src/syncevo/
index f5bd6a8..5d25ba4 100644
--- a/src/syncevo/
+++ b/src/syncevo/
@@ -233,7 +233,7 @@ src_syncevo_libsyncevolution_la_CPPFLAGS = \
   -DXML_CONFIG_DIR=\""$(datadir)/syncevolution/xml"\" \
   -DTEMPLATE_DIR=\""$(datadir)/syncevolution/templates"\" \
-src_syncevo_libsyncevolution_la_DEPENDENCIES = $(SYNTHESIS_DEP) $(src_syncevo_ldadd)
+src_syncevo_libsyncevolution_la_DEPENDENCIES = $(SYNTHESIS_DEP) $(filter, $(src_syncevo_ldadd))
 # rule which is only relevant when compiling Synthesis in subdirectory
 src/build-synthesis/ $(SYNTHESIS_SUBDIR)/all
cgit v0.9.0.2-2-gbebe