summaryrefslogtreecommitdiff
path: root/src/s
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-12-21 17:20:11 +0000
committerKarl Heuer <kwzh@gnu.org>1995-12-21 17:20:11 +0000
commit65028f723b12c8b9fe0a7b00ab1f667bf2eb0dfb (patch)
treef3bec0e9b40afd8db12b9d186b8a922244fe03af /src/s
parent74b4d1321fcad5e693fa3673398d960e0beb79b7 (diff)
downloademacs-65028f723b12c8b9fe0a7b00ab1f667bf2eb0dfb.tar.gz
(LIBXT_STATIC, STATIC_OPTION): Defined.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/sol2-5.h12
1 files changed, 12 insertions, 0 deletions
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