---
 src/util/tests/string_buffer/Makefile.am | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/src/util/tests/string_buffer/Makefile.am 
b/src/util/tests/string_buffer/Makefile.am
index 60039a90d2..fdf285fc5d 100644
--- a/src/util/tests/string_buffer/Makefile.am
+++ b/src/util/tests/string_buffer/Makefile.am
@@ -23,12 +23,16 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/util \
        $(DEFINES)
 
-LDADD = \
+string_buffer_test_SOURCES = \
+       append_and_print.cpp
+
+string_buffer_test_CFLAGS = \
+       -I$(top_srcdir)/include \
+       -I$(top_srcdir)/src/util \
+       $(DEFINES) \
+       $(PTHREAD_CFLAGS)
+
+string_buffer_test_LDADD = \
        $(top_builddir)/src/util/libmesautil.la \
        $(PTHREAD_LIBS) \
        $(DLOPEN_LIBS)
-
-TESTS = append_and_print \
-       $()
-
-check_PROGRAMS = $(TESTS)
-- 
2.13.3

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to