From: Ulrich Drepper Date: Tue, 3 Dec 2002 08:57:59 +0000 (+0000) Subject: Correct rule to create tst-locale1. X-Git-Tag: upstream/2.30~20622 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=87293ddce864a7542569a78905092cac8084dae3;p=external%2Fglibc.git Correct rule to create tst-locale1. --- diff --git a/nptl/Makefile b/nptl/Makefile index 5ae8896..c069fe6 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