]> code.delx.au - gnu-emacs/commitdiff
(LIBXT_STATIC, STATIC_OPTION): Defined.
authorKarl Heuer <kwzh@gnu.org>
Thu, 21 Dec 1995 17:20:11 +0000 (17:20 +0000)
committerKarl Heuer <kwzh@gnu.org>
Thu, 21 Dec 1995 17:20:11 +0000 (17:20 +0000)
src/s/sol2-5.h

index f3132550b8fbc2d7a8aba496dd39f3ba78654aab..26986d433e6dbb01241291d8401800247b1db61b 100644 (file)
@@ -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