From 87293ddce864a7542569a78905092cac8084dae3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 3 Dec 2002 08:57:59 +0000 Subject: Correct rule to create tst-locale1. --- nptl/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'nptl/Makefile') diff --git a/nptl/Makefile b/nptl/Makefile index 5ae8896131..c069fe6787 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -154,12 +154,12 @@ omit-deps += crti CFLAGS-pt-initfini.s = -g0 -fPIC -fno-inline-functions endif -include ../Rules - ifeq ($(build-static),yes) tests-static += tst-locale1 endif +include ../Rules + # What we install as libc.so for programs to link against is in fact a # link script. It contains references for the various libraries we need. # The libc.so object is not complete since some functions are only defined @@ -202,6 +202,7 @@ $(addprefix $(objpfx), \ $(tests) $(test-srcs))): $(objpfx)libpthread.so \ $(objpfx)libpthread_nonshared.a $(objpfx)tst-unload: $(common-objpfx)dlfcn/libdl.so +$(addprefix $(objpfx),$(tests-static)): $(objpfx)libpthread.a else $(addprefix $(objpfx),$(tests) $(test-srcs)): $(objpfx)libpthread.a endif -- cgit v1.2.3