about summary refs log tree commit diff
path: root/dlfcn/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-04-26 23:38:49 +0000
committerRoland McGrath <roland@gnu.org>2003-04-26 23:38:49 +0000
commit358cad7c11db498d30cc756cd0881aee2e7270ff (patch)
treec6178ef390d1d688e5ceff7a275458271ea9db29 /dlfcn/Makefile
parentd3f063bc78c7f6b9af0a1a41b43acdfad64cf783 (diff)
downloadglibc-358cad7c11db498d30cc756cd0881aee2e7270ff.tar.gz
glibc-358cad7c11db498d30cc756cd0881aee2e7270ff.tar.xz
glibc-358cad7c11db498d30cc756cd0881aee2e7270ff.zip
* Makerules ($(common-objpfx)shlib.lds): New target.
	(common-generated): Add it.
	(build-shlib, build-module): Use that instead of generating every time.
	($(common-objpfx)libc.so): Depend on it.
	(lib%.so rule): Likewise.
	(build-module-helper-objlist): Remove %.lds.
	* iconvdata/extra-module.mk ($(objpfx)$(mod).so):
	Depend on $(common-objpfx)shlib.lds.
	* dlfcn/Makefile ($(test-modules)): Likewise.
Diffstat (limited to 'dlfcn/Makefile')
-rw-r--r--dlfcn/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/dlfcn/Makefile b/dlfcn/Makefile
index 9115d30c2a..c3d7ecbfc7 100644
--- a/dlfcn/Makefile
+++ b/dlfcn/Makefile
@@ -62,7 +62,7 @@ include ../Rules
 LDFLAGS-dl.so = -Wl,-dynamic-linker,$(slibdir)/$(rtld-installed-name)
 
 test-modules = $(addprefix $(objpfx),$(addsuffix .so,$(modules-names)))
-$(test-modules): $(objpfx)%.so: $(objpfx)%.os
+$(test-modules): $(objpfx)%.so: $(objpfx)%.os $(common-objpfx)shlib.lds
 	$(build-module)
 
 $(objpfx)glrefmain: $(libdl)