From: Karl Heuer Date: Thu, 21 Dec 1995 17:20:11 +0000 (+0000) Subject: (LIBXT_STATIC, STATIC_OPTION): Defined. X-Git-Tag: emacs-19.34~2072 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6b4eb5930d41f6b188935e2c3a1e6b4f324365e8;p=emacs.git (LIBXT_STATIC, STATIC_OPTION): Defined. --- diff --git a/src/s/sol2-5.h b/src/s/sol2-5.h index f3132550b8f..26986d433e6 100644 --- a/src/s/sol2-5.h +++ b/src/s/sol2-5.h @@ -1,3 +1,15 @@ /* Handle Solaris 2.5. */ #include "sol2-4.h" + +/* Don't use the shared libraries for -lXt and -lXaw, + to work around a linker bug in Solaris 2.5. + (This also affects the other libraries used specifically for + the X toolkit, which may not be necessary.) */ +#define LIBXT_STATIC + +#ifdef __GNUC__ +#define STATIC_OPTION -static +#else +#define STATIC_OPTION -Bstatic +#endif