autotools: fix make error
Adding link flags to the libsyncevlution.la 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.
This commit is contained in:
parent
0a8c8ddb71
commit
db5f24e10d
|
@ -233,7 +233,7 @@ src_syncevo_libsyncevolution_la_CPPFLAGS = \
|
|||
-DXML_CONFIG_DIR=\""$(datadir)/syncevolution/xml"\" \
|
||||
-DTEMPLATE_DIR=\""$(datadir)/syncevolution/templates"\" \
|
||||
-DLIBDIR=\""$(libdir)"\"
|
||||
src_syncevo_libsyncevolution_la_DEPENDENCIES = $(SYNTHESIS_DEP) $(src_syncevo_ldadd)
|
||||
src_syncevo_libsyncevolution_la_DEPENDENCIES = $(SYNTHESIS_DEP) $(filter %.la, $(src_syncevo_ldadd))
|
||||
|
||||
# rule which is only relevant when compiling Synthesis in subdirectory
|
||||
src/build-synthesis/libsynthesissdk.la: $(SYNTHESIS_SUBDIR)/all
|
||||
|
|
Loading…
Reference in a new issue