From: Richard M. Stallman Date: Wed, 7 Aug 1996 21:51:21 +0000 (+0000) Subject: (LD_SWITCH_SYSTEM): New definition. X-Git-Tag: emacs-19.34~25 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=143305ce2a062a6ee4c9624bca72f1bb3f489b66;p=emacs.git (LD_SWITCH_SYSTEM): New definition. --- diff --git a/src/s/osf1.h b/src/s/osf1.h index 16aadd4a3a2..9503fb2ff53 100644 --- a/src/s/osf1.h +++ b/src/s/osf1.h @@ -27,3 +27,8 @@ preprocessor symbol "COFF". */ #define COFF + +/* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option + says where to find X windows at run time. We convert it to a -rpath option + which is what OSF1 uses. */ +#define LD_SWITCH_SYSTEM `echo LD_SWITCH_X_SITE_AUX | sed -e 's/-R/-Wl,-rpath,/'`