kcc: Add explicitly link against LIB_readline.
authorJelmer Vernooij <jelmer@samba.org>
Tue, 25 Jan 2011 23:23:14 +0000 (15:23 -0800)
committerLove Hornquist Astrand <lha@h5l.org>
Wed, 26 Jan 2011 01:52:53 +0000 (17:52 -0800)
Fixes linking when using binutils-gold (used by e.g. Ubuntu natty).

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
kuser/Makefile.am

index 7db632f71a2b05895d44798d8db8b92942e7cff6..0d41343a41002d23b613f5dfa2c27e9d03633652 100644 (file)
@@ -35,7 +35,8 @@ kimpersonate_LDADD = $(kinit_LDADD)
 
 kcc_LDADD = \
        $(top_builddir)/lib/sl/libsl.la \
-       $(kinit_LDADD)
+       $(kinit_LDADD) \
+       $(LIB_readline)
 
 dist_kcc_SOURCES = kcc.c klist.c kswitch.c copy_cred_cache.c
 nodist_kcc_SOURCES = kcc-commands.c