# HG changeset patch # User Karl Heuer # Date 819566411 0 # Node ID 9cba53e85252127361d62d9300795ab932ef7b84 # Parent 434b944a78c9e14d277ad7b4236ea95c911ac9d7 (LIBXT_STATIC, STATIC_OPTION): Defined. diff -r 434b944a78c9 -r 9cba53e85252 src/s/sol2-5.h --- a/src/s/sol2-5.h Thu Dec 21 17:19:48 1995 +0000 +++ b/src/s/sol2-5.h Thu Dec 21 17:20:11 1995 +0000 @@ -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