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 /sysdeps/mach | |
parent | 7aff0002b32ed9c65b03262fa3c3915889cc089f (diff) | |
download | glibc-5407f442ec52d7aa7a92573b765dafecca74abe4.tar.gz glibc-5407f442ec52d7aa7a92573b765dafecca74abe4.tar.xz glibc-5407f442ec52d7aa7a92573b765dafecca74abe4.zip |
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 'sysdeps/mach')
-rw-r--r-- | sysdeps/mach/hurd/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile index fbc1ad3f61..ec466e3ee6 100644 --- a/sysdeps/mach/hurd/Makefile +++ b/sysdeps/mach/hurd/Makefile @@ -133,9 +133,18 @@ endif rpcuserlibs := $(common-objpfx)mach/libmachuser.so \ $(common-objpfx)hurd/libhurduser.so link-rpcuserlibs := $(rpcuserlibs:%user.so=%user-link.so) -$(common-objpfx)libc.so subdir_lib: $(link-rpcuserlibs) +$(common-objpfx)libc.so: $(link-rpcuserlibs) rpath-dirs += mach hurd +# Make sure the `lib' pass builds the dummy shared objects so +# we can link libc against them. +ifeq (mach,$(subdir)) +lib-noranlib: $(common-objpfx)mach/libmachuser-link.so +endif +ifeq (hurd,$(subdir)) +lib-noranlib: $(common-objpfx)hurd/libhurduser-link.so +endif + $(link-rpcuserlibs): %-link.so: %_pic.a $(build-module) -nostdlib -Wl,-soname=$(*F).so$($(*F).so-version) |