[glib] Fix failure to build exit-on-close gdbus test
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix failure to build exit-on-close gdbus test
- Date: Sat, 1 Jun 2013 15:39:12 +0000 (UTC)
commit 79972d22ac7085c252b6714d7dffd10fb470db6b
Author: Ryan Lortie <desrt desrt ca>
Date: Sat Jun 1 11:38:10 2013 -0400
Fix failure to build exit-on-close gdbus test
In the case that HAVE_DBUS_DAEMON was undefined (as in ostree where glib
is built before D-Bus) this test was failing. Move it inside the
HAVE_DBUS_DAEMON block.
gio/tests/Makefile.am | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gio/tests/Makefile.am b/gio/tests/Makefile.am
index 1498251..212b524 100644
--- a/gio/tests/Makefile.am
+++ b/gio/tests/Makefile.am
@@ -274,9 +274,6 @@ gdbus_connection_flush_SOURCES = \
test-pipe-unix.c \
test-pipe-unix.h
-test_programs += gdbus-exit-on-close
-gdbus_exit_on_close_SOURCES = gdbus-exit-on-close.c $(gdbus_tests_sources) $(gdbus_sessionbus_sources)
-
test_programs += gdbus-non-socket
gdbus_non_socket_SOURCES = \
gdbus-non-socket.c \
@@ -316,6 +313,7 @@ test_programs += \
gdbus-auth \
gdbus-connection \
gdbus-bz627724 \
+ gdbus-exit-on-close \
gdbus-connection-loss \
gdbus-connection-slow \
gdbus-names \
@@ -332,6 +330,7 @@ test_programs += \
$(NULL)
gdbus_proxy_threads_CFLAGS = $(AM_CFLAGS) $(DBUS1_CFLAGS)
+gdbus_exit_on_close_SOURCES = $(gdbus_sessionbus_sources) gdbus-exit-on-close.c
gapplication_SOURCES = $(gdbus_sessionbus_sources) gapplication.c
actions_SOURCES = $(gdbus_sessionbus_sources) actions.c
gdbus_auth_SOURCES = $(gdbus_sessionbus_sources) gdbus-auth.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]