]> git.ipfire.org Git - thirdparty/util-linux.git/commit
runuser: fix linking
authorSami Kerola <kerolasa@iki.fi>
Sun, 27 Aug 2017 20:25:03 +0000 (21:25 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 18 Sep 2017 09:49:11 +0000 (11:49 +0200)
commit204aa7714d33df6827ae6c69638ec6af261eff1b
tree761a58cd3d216346866440c47b47f033eddcb729
parentae6e2537ffbdff9f774c9cf855b346541104b2b7
runuser: fix linking

Add conditional -lutil to runuser when needed to avoid linking error.

login-utils/su-common.o: In function `pty_create':
login-utils/su-common.c:269: undefined reference to `openpty'
login-utils/su-common.c:273: undefined reference to `openpty'

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
login-utils/Makemodule.am