about summary refs log tree commit diff
path: root/misc/getusershell.c
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2022-02-12 08:17:55 +0900
committerStafford Horne <shorne@gmail.com>2022-02-24 16:25:26 +0900
commitee5d27bea53626c0187f77feec2c883f2c6ac4b3 (patch)
treed3510aa553f7c95dd738fd00d58f10feb91318c9 /misc/getusershell.c
parent1153f7158608cfa3e7372e03bb82566a3dab1a19 (diff)
downloadglibc-ee5d27bea53626c0187f77feec2c883f2c6ac4b3.tar.gz
glibc-ee5d27bea53626c0187f77feec2c883f2c6ac4b3.tar.xz
glibc-ee5d27bea53626c0187f77feec2c883f2c6ac4b3.zip
resolv: Fix tst-resolv tests for 2.35 ABIs and later
The commit 737e873b30 ("resolv: Do not build libanl.so for ABIs starting
at 2.35") disabled building libanl for ports supporting only 2.35 and
later like OpenRISC.

However, the if statement was not updated quite correctly and the change
ends up disabling many tst-resolv* tests.  This was not supposed to be
done and it causes test dependency errors like:

     make: Entering directory 'gnu-home/glibc/resolv'
     make: *** No rule to make target 'gnu-home/build-glibc/resolv/tst-resolv-res_ninit.out', needed by 'gnu-home/build-glibc/resolv/mtrace-tst-resolv-res_ninit.out'. Stop.
     make: Leaving directory 'gnu-home/glibc/resolv'

This patch move the extra-libs += libanl definition and condition down
to be closer to other libanl definitions.  The $(have-GLIBC_2.34)
condition now includes libanl-routines and libanl-shared-only-routines as
well.

Also, I have added a comment to endif of $(have-thread-library) to help
show the bondary of the have-thread-library definitions.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'misc/getusershell.c')
0 files changed, 0 insertions, 0 deletions