aboutsummaryrefslogtreecommitdiff
path: root/dlfcn
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-07-29 08:36:30 +0000
committerRoland McGrath <roland@gnu.org>2003-07-29 08:36:30 +0000
commit5181d776e8bb3c277ea291b3b43be0ce8a38c6c3 (patch)
treeacdcf5525dff8dcdabe7226d996e304e55c82127 /dlfcn
parentbba446f7e9eb56a9117af5423b872f5de42e4740 (diff)
downloadglibc-5181d776e8bb3c277ea291b3b43be0ce8a38c6c3.zip
glibc-5181d776e8bb3c277ea291b3b43be0ce8a38c6c3.tar.gz
glibc-5181d776e8bb3c277ea291b3b43be0ce8a38c6c3.tar.bz2
* elf/Makefile (tests) [$(build-shared) = yes]:
Depend on $(test-modules). * dlfcn/Makefile: Likewise.
Diffstat (limited to 'dlfcn')
-rw-r--r--dlfcn/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/dlfcn/Makefile b/dlfcn/Makefile
index a5793cb..f55d98b 100644
--- a/dlfcn/Makefile
+++ b/dlfcn/Makefile
@@ -69,6 +69,11 @@ test-modules = $(addprefix $(objpfx),$(addsuffix .so,$(modules-names)))
$(test-modules): $(objpfx)%.so: $(objpfx)%.os $(common-objpfx)shlib.lds
$(build-module)
+ifeq ($(build-shared),yes)
+# Build all the modules even when not actually running test programs.
+tests: $(test-modules)
+endif
+
$(objpfx)glrefmain: $(libdl)
$(objpfx)glrefmain.out: $(objpfx)glrefmain \
$(objpfx)glreflib1.so $(objpfx)glreflib2.so