diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/sol2-5.h | 12 |
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 @@ | |||
| 1 | /* Handle Solaris 2.5. */ | 1 | /* Handle Solaris 2.5. */ |
| 2 | 2 | ||
| 3 | #include "sol2-4.h" | 3 | #include "sol2-4.h" |
| 4 | |||
| 5 | /* Don't use the shared libraries for -lXt and -lXaw, | ||
| 6 | to work around a linker bug in Solaris 2.5. | ||
| 7 | (This also affects the other libraries used specifically for | ||
| 8 | the X toolkit, which may not be necessary.) */ | ||
| 9 | #define LIBXT_STATIC | ||
| 10 | |||
| 11 | #ifdef __GNUC__ | ||
| 12 | #define STATIC_OPTION -static | ||
| 13 | #else | ||
| 14 | #define STATIC_OPTION -Bstatic | ||
| 15 | #endif | ||