summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-12-16 12:14:22 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2015-12-16 15:03:53 +0100
commit02c82b468c7b04452ea6c216f756775101b7a326 (patch)
tree3fbcc7f6d8ce934733caaef469068aa64e2ad5a8
parentd13fdd7fa9f539959529535fbfacbdbb5972a9a7 (diff)
downloadspice-common-02c82b468c7b04452ea6c216f756775101b7a326.tar.gz
spice-common-02c82b468c7b04452ea6c216f756775101b7a326.tar.xz
spice-common-02c82b468c7b04452ea6c216f756775101b7a326.zip
test: Use _LDADD rather than _LDFLAGS
This allows libtool/automake to correctly add a dependency from libspice-common.la to test_marshallers. With _LDFLAGS, the binary won't automatically get rebuilt/relinked when the lib changes.
-rw-r--r--tests/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 518e63f..d612d44 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -13,7 +13,7 @@ test_marshallers_CFLAGS = \
$(GLIB2_CFLAGS) \
$(PROTOCOL_CFLAGS) \
$(NULL)
-test_marshallers_LDFLAGS = \
+test_marshallers_LDADD = \
$(top_builddir)/common/libspice-common.la \
$(GLIB2_LIBS) \
$(NULL)