aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-03 08:57:59 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-03 08:57:59 +0000
commit87293ddce864a7542569a78905092cac8084dae3 (patch)
tree7d9df17a97bb3bb678d7ce41d4ce2aace89ea1b6 /nptl
parentb8d7c8c1e85efe824f39aa8c2a77967b3de185e5 (diff)
downloadglibc-87293ddce864a7542569a78905092cac8084dae3.zip
glibc-87293ddce864a7542569a78905092cac8084dae3.tar.gz
glibc-87293ddce864a7542569a78905092cac8084dae3.tar.bz2
Correct rule to create tst-locale1.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/Makefile5
1 files changed, 3 insertions, 2 deletions
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