diff options
author | Roland McGrath <roland@gnu.org> | 1999-03-23 18:05:48 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-03-23 18:05:48 +0000 |
commit | 5407f442ec52d7aa7a92573b765dafecca74abe4 (patch) | |
tree | 54ee8546ec425406f79dd5a20b2779566145e90c /mach | |
parent | 7aff0002b32ed9c65b03262fa3c3915889cc089f (diff) | |
download | glibc-5407f442ec52d7aa7a92573b765dafecca74abe4.tar.gz |
1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/Makefile: Undo last change.
[$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
[$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
* mach/Machrules (+preinit, +postinit, +interp,
LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
linked just like other shared libraries.
(interface.so): Fix typo in defn, so it works.
($(objpfx)$(interface.so)): Make it depend on libc.so.
Diffstat (limited to 'mach')
-rw-r--r-- | mach/Machrules | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/mach/Machrules b/mach/Machrules index b5a6998c18..adf539419a 100644 --- a/mach/Machrules +++ b/mach/Machrules @@ -221,13 +221,11 @@ $(interface-library)-routines = $(interface-routines) extra-libs += $(interface-library) extra-libs-others += $(interface-library) -# Avoid -lmachuser requiring -lc, which may not be built yet. If the -# shared object is absent, ld may choose a static library someplace and -# produce a bogus libmachuser.so. -+preinit = -+postinit = -+interp = -interface.so = $(interface-library:lib%=%.so) -LDFLAGS-$(interface.so) = -nostdlib -nostartfiles +ifeq (yes,$(build-shared)) +interface.so = $(interface-library:=.so) + +# Depend on libc.so so a DT_NEEDED is generated in the shared objects. +$(objpfx)$(interface.so): $(common-objpfx)libc.so +endif endif |