changeset 12038:20f5e203dfe6

(LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h; added references to /usr/dt/lib.
author Karl Heuer <kwzh@gnu.org>
date Tue, 30 May 1995 23:32:09 +0000
parents a9ada5749a17
children a75524689022
files src/s/sol2-4.h
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/sol2-4.h	Tue May 30 23:26:56 1995 +0000
+++ b/src/s/sol2-4.h	Tue May 30 23:32:09 1995 +0000
@@ -10,3 +10,14 @@
 #undef C_SWITCH_SYSTEM
 #undef const
 #endif /* __GNUC__ */
+
+#undef LD_SWITCH_SYSTEM
+#ifndef __GNUC__
+#define LD_SWITCH_SYSTEM -L /usr/ccs/lib LD_SWITCH_X_SITE_AUX -R /usr/dt/lib -L /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 -L /usr/dt/lib
+#endif /* GCC */