Correct rule to create tst-locale1.

This commit is contained in:
Ulrich Drepper 2002-12-03 08:57:59 +00:00
parent b8d7c8c1e8
commit 87293ddce8

View 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