changeset 11824:2866cf1e7c36

(LD_SWITCH_SYSTEM): Define.
author Richard M. Stallman <rms@gnu.org>
date Mon, 15 May 1995 23:27:00 +0000
parents 51194e0d2967
children 471eac3b0f38
files src/s/sol2-4.h
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/sol2-4.h	Mon May 15 23:24:45 1995 +0000
+++ b/src/s/sol2-4.h	Mon May 15 23:27:00 1995 +0000
@@ -20,3 +20,13 @@
 
 /* David Miller <davem@caip.rutgers.edu> says vfork fails on 2.4.  */
 #undef HAVE_VFORK
+
+#ifndef __GNUC__
+#define LD_SWITCH_SYSTEM -L /usr/ccs/lib LD_SWITCH_X_SITE_AUX -R /usr/dt/lib
+#else /* GCC */
+/* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX
+   has anything in it.  It can be empty.
+   This works ok in src.  Luckily lib-src does not use LD_SWITCH_SYSTEM.  */
+#define LD_SWITCH_SYSTEM -L /usr/ccs/lib \
+ `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` -R /usr/dt/lib
+#endif /* GCC */