From 5181d776e8bb3c277ea291b3b43be0ce8a38c6c3 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 29 Jul 2003 08:36:30 +0000 Subject: * elf/Makefile (tests) [$(build-shared) = yes]: Depend on $(test-modules). * dlfcn/Makefile: Likewise. --- dlfcn/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dlfcn') diff --git a/dlfcn/Makefile b/dlfcn/Makefile index a5793cb731..f55d98b955 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 -- cgit 1.4.1