diff options
author | Richard M. Stallman <rms@gnu.org> | 1992-11-21 22:12:53 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1992-11-21 22:12:53 +0000 |
commit | 7fe7fd40d2cbe4623a31d73a500ef407df882448 (patch) | |
tree | 0f3cc88234151bf8cb4b35659b5279dc01a2d4fd /src/s/sol2.h | |
parent | 9114e2792fe477299d6d7f8856c616fe4ce31d21 (diff) | |
download | emacs-7fe7fd40d2cbe4623a31d73a500ef407df882448.tar.gz |
(LD_SWITCH_SYSTEM): Make alternate version for GCC.
Diffstat (limited to 'src/s/sol2.h')
-rw-r--r-- | src/s/sol2.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/s/sol2.h b/src/s/sol2.h index c985e96967b..ac499294f25 100644 --- a/src/s/sol2.h +++ b/src/s/sol2.h @@ -4,8 +4,12 @@ /* Here is how to find X Windows. The -L option tells the linker where to find the libraries at link time, the -R option at run time. */ -#define LD_SWITCH_SYSTEM -L/usr/openwin/lib -R/usr/openwin/lib #define C_SWITCH_X_SYSTEM -I/usr/openwin/include +#ifndef __GNUC__ +#define LD_SWITCH_SYSTEM -L/usr/openwin/lib -R/usr/openwin/lib +#else /* GCC */ +#define LD_SWITCH_SYSTEM -L/usr/openwin/lib -Xlinker -R/usr/openwin/lib +#endif /* GCC */ /* Compile in non-ansi fashion to work around bugs in system header files. */ #ifndef __GNUC__ |