From 6b4eb5930d41f6b188935e2c3a1e6b4f324365e8 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Thu, 21 Dec 1995 17:20:11 +0000 Subject: [PATCH] (LIBXT_STATIC, STATIC_OPTION): Defined. --- src/s/sol2-5.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- 2.39.2