From adcf6754fb52a1dd9ed099fe420eebbb4fcbb082 Mon Sep 17 00:00:00 2001 From: Iain Lane Date: Thu, 13 Jun 2013 11:54:37 +0100 Subject: Link test program in the right order. Importantly, make sure XORG_GTEST_LIBS comes after it as it uses pthread. --- tests/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/Makefile.am') diff --git a/tests/Makefile.am b/tests/Makefile.am index 8ca0cbc..f9676c3 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -24,10 +24,10 @@ AM_CXXFLAGS = $(GTEST_CXXFLAGS) TEST_LIBS = \ $(top_builddir)/src/.libs/libdatetime.so \ + libgtest.a \ $(INDICATOR_LIBS) \ $(COVERAGE_LDFLAGS) \ - $(XORG_GTEST_LDFLAGS) \ - libgtest.a + $(XORG_GTEST_LDFLAGS) TEST_CPPFLAGS = \ $(AM_CPPFLAGS) \ -- cgit v1.2.3