summaryrefslogtreecommitdiffstats
path: root/sys-utils/Makemodule.am
diff options
context:
space:
mode:
authorSami Kerola2017-06-25 10:42:06 +0200
committerSami Kerola2017-08-30 21:32:48 +0200
commitb3849c66d372a28312dab196df9c9b01b11f107a (patch)
treee098c4b9c5d45068a0eba175585db0aea99c4e8e /sys-utils/Makemodule.am
parentrfkill: do not ignore read error (diff)
downloadkernel-qcow2-util-linux-b3849c66d372a28312dab196df9c9b01b11f107a.tar.gz
kernel-qcow2-util-linux-b3849c66d372a28312dab196df9c9b01b11f107a.tar.xz
kernel-qcow2-util-linux-b3849c66d372a28312dab196df9c9b01b11f107a.zip
rfkill: use libsmartcols output
This also makes the rfkill to output status when executed without arguments. That is believed ot be more useful than usage() output. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/Makemodule.am')
-rw-r--r--sys-utils/Makemodule.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-utils/Makemodule.am b/sys-utils/Makemodule.am
index 7eba78d1b..b2d9bf590 100644
--- a/sys-utils/Makemodule.am
+++ b/sys-utils/Makemodule.am
@@ -63,7 +63,8 @@ if BUILD_RFKILL
usrbin_exec_PROGRAMS += rfkill
dist_man_MANS += sys-utils/rfkill.8
rfkill_SOURCES = sys-utils/rfkill.c
-rfkill_LDADD = $(LDADD) libcommon.la
+rfkill_LDADD = $(LDADD) libcommon.la libsmartcols.la
+rfkill_CFLAGS = $(AM_CFLAGS) -I$(ul_libsmartcols_incdir)
endif
if BUILD_SETSID