Fix link failure with absent -lutil on Solaris 10.

* configure.ac (LIBUTIL): Prefer PTY_LIBS in Makefile.am over
adding -lutil for pty-functions.
* src/Makefile.am (LDADD): Add PTY_LIB.
* telnetd/Makefile.am (LDADD): Likewise.
* tests/Makefile.am (identify_LDADD): Likewise.
This commit is contained in:
Simon Josefsson
2021-01-28 09:01:47 +01:00
parent 0b897f624d
commit b6bfaf9630
5 changed files with 14 additions and 14 deletions

View File

@@ -34,7 +34,8 @@ AM_CPPFLAGS = \
LDADD = \
$(iu_LIBRARIES) \
$(LIBUTIL)
$(LIBUTIL) \
$(PTY_LIB)
inetdaemondir = @inetdaemondir@