From a8fd2a74cba1af6802d6196f1bcd9e5c1e701135 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 15 May 1995 23:27:00 +0000 Subject: [PATCH] (LD_SWITCH_SYSTEM): Define. --- src/s/sol2-4.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/s/sol2-4.h b/src/s/sol2-4.h index d9ea83389a7..43cedfb52e1 100644 --- a/src/s/sol2-4.h +++ b/src/s/sol2-4.h @@ -20,3 +20,13 @@ /* David Miller 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 */ -- 2.39.2