Causes the tests to be actual binaries instead of libtool linker flags, making
it easier to run them in a debugger. Since we don't install the tests anyway,
this has no effect on system installations.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
 test/Makefile.am | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test/Makefile.am b/test/Makefile.am
index e393b40..3ff3210 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -5,13 +5,17 @@ TESTS=$(noinst_PROGRAMS)
 AM_CPPFLAGS=-I$(top_srcdir)/libwacom -DTOPSRCDIR="\"$(abs_top_srcdir)\""
 
 load_LDADD=$(top_builddir)/libwacom/libwacom.la
+load_LDFLAGS = -static
 dbverify_LDADD=$(top_builddir)/libwacom/libwacom.la
+dbverify_LDFLAGS = -static
 tablet_validity_LDADD=$(top_builddir)/libwacom/libwacom.la
+tablet_validity_LDFLAGS = -static
 
 if HAVE_LIBXML
 noinst_PROGRAMS += tablet-svg-validity
 tablet_svg_validity_SOURCES = tablet-svg-validity.c
 tablet_svg_validity_LDADD = $(top_builddir)/libwacom/libwacom.la $(LIBXML_LIBS)
+tablet_svg_validity_LDFLAGS = -static
 tablet_svg_validity_CFLAGS = $(LIBXML_CFLAGS)
 endif
 
-- 
1.8.4.2


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to