From: Richard M. Stallman Date: Sat, 26 Feb 1994 20:49:21 +0000 (+0000) Subject: (LD_SWITCH_SYSTEM): New definitions, with #undef. X-Git-Tag: emacs-19.34~9748 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b1d07009bf9537461790fdf3192ac0fcb27e1b42;p=emacs.git (LD_SWITCH_SYSTEM): New definitions, with #undef. --- diff --git a/src/s/sol2-3.h b/src/s/sol2-3.h index 36b6de4ed4c..7d614f8e12a 100644 --- a/src/s/sol2-3.h +++ b/src/s/sol2-3.h @@ -2,3 +2,13 @@ /* Solaris 2.3 has a bug in XListFontsWithInfo. */ #define BROKEN_XLISTFONTSWITHINFO + +/* Override LD_SWITCH_SYSTEM: add -L /usr/ccs/lib to the sol2.h value. */ + +#undef LD_SWITCH_SYSTEM + +#ifndef __GNUC__ +#define LD_SWITCH_SYSTEM -L /usr/ccs/lib LD_SWITCH_X_SITE_AUX +#else /* GCC */ +#define LD_SWITCH_SYSTEM -L /usr/ccs/lib -Xlinker LD_SWITCH_X_SITE_AUX +#endif /* GCC */