(LD_SWITCH_SYSTEM): New definition.
authorRichard M. Stallman <rms@gnu.org>
Wed, 7 Aug 1996 21:51:21 +0000 (21:51 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 7 Aug 1996 21:51:21 +0000 (21:51 +0000)
src/s/osf1.h

index 16aadd4..9503fb2 100644 (file)
@@ -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,/'`