changeset 13788:9cba53e85252

(LIBXT_STATIC, STATIC_OPTION): Defined.
author Karl Heuer <kwzh@gnu.org>
date Thu, 21 Dec 1995 17:20:11 +0000
parents 434b944a78c9
children 7ccb22bca972
files src/s/sol2-5.h
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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