aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am2
-rw-r--r--tests/test-service.cc2
2 files changed, 1 insertions, 3 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 5eca08a..0d30bba 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -10,7 +10,7 @@ AM_CXXFLAGS = $(GTEST_CXXFLAGS)
TESTS = test-service
check_PROGRAMS = test-service
test_service_SOURCES = test-service.cc
-test_service_LDADD = $(TEST_SERVICE_LIBS) libgtest.a
+test_service_LDADD = $(TEST_SERVICE_LIBS) libgtest.a $(XORG_GTEST_MAIN_LIBS) $(X11_LIBS)
test_service_CPPFLAGS = \
$(TEST_SERVICE_CFLAGS) \
$(AM_CPPFLAGS) \
diff --git a/tests/test-service.cc b/tests/test-service.cc
index cb10070..d163db5 100644
--- a/tests/test-service.cc
+++ b/tests/test-service.cc
@@ -25,8 +25,6 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
****
***/
-static const char * the_executable = NULL;
-
/**
* Fixture class for testing indicator-session-service with Google Test.
*/