summaryrefslogtreecommitdiff
path: root/x11-servers/xorg-server/files/config_Makefile.am
blob: c62e761a4955765fa323303990e2a277e57f94cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
* Build the devd config backend if activated
*
--- config/Makefile.am.orig	2017-03-16 05:24:43 UTC
+++ config/Makefile.am
@@ -4,6 +4,11 @@ noinst_LTLIBRARIES = libconfig.la
 libconfig_la_SOURCES = config.c config-backends.h
 libconfig_la_LIBADD =
 
+if CONFIG_DEVD
+libconfig_la_SOURCES += devd.c
+libconfig_la_LIBADD += -lusbhid
+endif
+
 if NEED_DBUS
 AM_CFLAGS += $(DBUS_CFLAGS)
 libconfig_la_SOURCES += dbus-core.c