1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 11:02:48 -05:00

Colin Watson reports that linking with 'gold' doesn't work, because

PuTTY makes explicit use of libX11 without including -lX11 on the
link line. (GNU ld appears to pull in libX11 automatically because
it's needed for the dependencies of GTK, but gold expects that
dependency to be satisfied at run time via DT_NEEDED and hence
doesn't bother.) Hence, add explicit -lX11 to both Makefile.gtk and
the autoconf world.

[originally from svn r8876]
This commit is contained in:
Simon Tatham
2010-02-20 19:06:30 +00:00
parent 7198a148b5
commit c969ae2ea6
2 changed files with 4 additions and 2 deletions

View File

@ -51,6 +51,8 @@ if test "$with_gssapi" != "no"; then
AC_SEARCH_LIBS([gss_init_sec_context], [gssapi gssapi_krb5 gss])
fi
AC_CHECK_LIB(X11, XOpenDisplay)
AC_CHECK_FUNCS([getaddrinfo ptsname setresuid strsignal updwtmpx])
AC_OUTPUT