mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
elf: Fix tst-linkall-static link when pthread is not in libc
In that case we want to link in libanl.a, thus providing getaddrinfo_a.
This commit is contained in:
parent
28713c0612
commit
7ac2bee495
@ -1936,6 +1936,10 @@ $(objpfx)tst-ldconfig-X.out : tst-ldconfig-X.sh $(objpfx)ldconfig
|
||||
# Test static linking of all the libraries we can possibly link
|
||||
# together. Note that in some configurations this may be less than the
|
||||
# complete list of libraries we build but we try to maxmimize this list.
|
||||
ifeq ($(pthread-in-libc),no)
|
||||
$(objpfx)tst-linkall-static: \
|
||||
$(common-objpfx)resolv/libanl.a
|
||||
endif
|
||||
$(objpfx)tst-linkall-static: \
|
||||
$(common-objpfx)math/libm.a \
|
||||
$(common-objpfx)resolv/libresolv.a \
|
||||
|
Loading…
Reference in New Issue
Block a user