summaryrefslogtreecommitdiffstats
path: root/term-utils/Makemodule.am
diff options
context:
space:
mode:
authorSami Kerola2016-05-14 20:39:37 +0200
committerSami Kerola2016-07-04 00:35:10 +0200
commita58b90255c247efc455e6e84ffa0601b325ac090 (patch)
tree870cd9309ccb76c3572feec6f8b8a08a32a3a8bf /term-utils/Makemodule.am
parentwrite: tell when effective gid and tty path group mismatch (diff)
downloadkernel-qcow2-util-linux-a58b90255c247efc455e6e84ffa0601b325ac090.tar.gz
kernel-qcow2-util-linux-a58b90255c247efc455e6e84ffa0601b325ac090.tar.xz
kernel-qcow2-util-linux-a58b90255c247efc455e6e84ffa0601b325ac090.zip
write: stop removing and adding /dev/ in front of tty string
Add both path and tty name representations of tty's to control structure, that point to same string beginning from different depths. This way there is no need to removing and adding /dev/ in front of tty string all the time. Secondly this change makes it possible to use of get_terminal_name() from ttyutils.c. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'term-utils/Makemodule.am')
-rw-r--r--term-utils/Makemodule.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/term-utils/Makemodule.am b/term-utils/Makemodule.am
index 8ddb0687b..1b7c5fccf 100644
--- a/term-utils/Makemodule.am
+++ b/term-utils/Makemodule.am
@@ -93,6 +93,7 @@ dist_man_MANS += term-utils/write.1
write_SOURCES = term-utils/write.c
write_CFLAGS = $(SUID_CFLAGS) $(AM_CFLAGS)
write_LDFLAGS = $(SUID_LDFLAGS) $(AM_LDFLAGS)
+write_LDADD = $(LDADD) libcommon.la
if USE_TTY_GROUP
if MAKEINSTALL_DO_CHOWN