yann@1: Fixes errors like yann@1: /build-glibc/dlfcn/glrefmain: cannot load `glreflib1.so' yann@1: in glibc regression test yann@1: yann@1: --- glibc-2.2.5/dlfcn/Makefile.old Thu Jul 24 16:30:20 2003 yann@1: +++ glibc-2.2.5/dlfcn/Makefile Thu Jul 24 17:25:01 2003 yann@1: @@ -60,6 +60,8 @@ yann@1: test-modules = $(addprefix $(objpfx),$(addsuffix .so,$(modules-names))) yann@1: $(test-modules): $(objpfx)%.so: $(objpfx)%.os yann@1: $(build-module) yann@1: +# without following rule, test-modules don't get built when cross-compiling yann@1: +tests: $(test-modules) yann@1: yann@1: $(objpfx)glrefmain: $(libdl) yann@1: $(objpfx)glrefmain.out: $(objpfx)glrefmain \ yann@1: --- glibc-2.2.5/elf/Makefile.old Thu Jul 24 18:17:12 2003 yann@1: +++ glibc-2.2.5/elf/Makefile Thu Jul 24 18:18:58 2003 yann@1: @@ -263,6 +263,9 @@ yann@1: test-modules = $(addprefix $(objpfx),$(addsuffix .so,$(strip $(modules-names)))) yann@1: generated += $(addsuffix .so,$(strip $(modules-names))) yann@1: yann@1: +# without following rule, test-modules don't get built when cross-compiling yann@1: +tests: $(test-modules) yann@1: + yann@1: ifeq (yes,$(build-shared)) yann@1: ifeq ($(cross-compiling),no) yann@1: tests: $(objpfx)tst-pathopt.out