summaryrefslogtreecommitdiff
path: root/sysutils/consolekit2/files/patch-tools_Makefile.am
blob: fdc8efa10f083a09cbe9dfc8881a9c7684741302 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- tools/Makefile.am.orig	2020-04-11 15:14:59 UTC
+++ tools/Makefile.am
@@ -148,10 +148,14 @@ ck_log_system_stop_LDADD =		\
 
 libexec_PROGRAMS = 			\
 	ck-collect-session-info		\
-	ck-get-x11-server-pid		\
-	ck-get-x11-display-device	\
 	ck-remove-directory			\
 	$(NULL)
+
+if USE_LIBX11
+libexec_PROGRAMS += 			\
+	ck-get-x11-server-pid		\
+	ck-get-x11-display-device
+endif
 
 ck_collect_session_info_SOURCES =	\
 	ck-collect-session-info.c	\