Mercurial > hg > xemacs-beta
diff src/s/sol2-static.h @ 157:6b37e6ddd302 r20-3b5
Import from CVS: tag r20-3b5
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:40:41 +0200 |
parents | 538048ae2ab8 |
children | 0132846995bd |
line wrap: on
line diff
--- a/src/s/sol2-static.h Mon Aug 13 09:39:46 2007 +0200 +++ b/src/s/sol2-static.h Mon Aug 13 09:40:41 2007 +0200 @@ -10,31 +10,31 @@ #undef LD_SWITCH_SYSTEM #ifndef __GNUC__ # ifdef USE_LCC -# define LD_SWITCH_SYSTEM -R /usr/openwin/lib -Bstatic +# define LD_SWITCH_SYSTEM "-R /usr/openwin/lib -Bstatic" # else -# define LD_SWITCH_SYSTEM -R/usr/openwin/lib -Bstatic +# define LD_SWITCH_SYSTEM "-R/usr/openwin/lib -Bstatic" #endif #else /* GCC */ /* jwz: note that we need "-Xlinker -Bstatic" and not just "-static" */ -#define LD_SWITCH_SYSTEM -Xlinker -R/usr/openwin/lib -Xlinker -Bstatic +#define LD_SWITCH_SYSTEM "-Xlinker -R/usr/openwin/lib -Xlinker -Bstatic" #endif /* GCC */ /* static linking and Solaris don't mix real well */ #undef LIB_STANDARD #ifndef __GNUC__ # ifdef I18N4 -# define LIB_STANDARD -lw -Bdynamic -lc -ldl -Bstatic +# define LIB_STANDARD "-lw -Bdynamic -lc -ldl -Bstatic" # else /* !I18N4 */ -# define LIB_STANDARD -lw -lc -Bdynamic -ldl -Bstatic +# define LIB_STANDARD "-lw -lc -Bdynamic -ldl -Bstatic" # endif /* !I18N4 */ #else -# define LIB_STANDARD -lw -lc -Xlinker -Bdynamic -ldl +# define LIB_STANDARD "-lw -lc -Xlinker -Bdynamic -ldl" #endif #undef LIBS_SYSTEM #ifdef NOT_C_CODE # undef LIBS_SYSTEM -# define LIBS_SYSTEM -lsocket -lnsl -lintl -lelf -lgen +# define LIBS_SYSTEM "-lsocket -lnsl -lintl -lelf -lgen" #else -# define LIBS_SYSTEM -lsocket -lnsl -lelf -lgen +# define LIBS_SYSTEM "-lsocket -lnsl -lelf -lgen" #endif