]> sourceware.org Git - glibc.git/commitdiff
Correct rule to create tst-locale1.
authorUlrich Drepper <drepper@redhat.com>
Tue, 3 Dec 2002 08:57:59 +0000 (08:57 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 3 Dec 2002 08:57:59 +0000 (08:57 +0000)
nptl/Makefile

index 5ae88961314c03feeabcb475434ad14cc36e0725..c069fe678730dc1834939c4a0e7ecbad7b1ae796 100644 (file)
@@ -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
This page took 0.03975 seconds and 5 git commands to generate.