diff options
| author | Florian Weimer <fweimer@redhat.com> | 2021-07-02 11:45:00 +0200 |
|---|---|---|
| committer | Florian Weimer <fweimer@redhat.com> | 2021-07-02 11:45:00 +0200 |
| commit | dbb949f53d4801b91885b2dfac9875b83a8710bf (patch) | |
| tree | 9fdfcaeda7ba0f7f2895f45e233757cdfdb1eef3 /resolv/Makefile | |
| parent | 813c6ec808556553be9d39e900a3fc97ceb32330 (diff) | |
| download | glibc-dbb949f53d4801b91885b2dfac9875b83a8710bf.tar.xz glibc-dbb949f53d4801b91885b2dfac9875b83a8710bf.zip | |
resolv: Move libanl into libc (if libpthread is in libc)
The symbols gai_cancel, gai_error, gai_suspend, getaddrinfo_a,
__gai_suspend_time64 were moved using scripts/move-symbol-to-libc.py.
For Hurd (which remains !PTHREAD_IN_LIBC), a few #define redirects
had to be added because several pthread functions are not available
under __. (Linux uses __ prefixes for most hidden aliases, and has
to in some cases to avoid linknamespace issues.)
Diffstat (limited to 'resolv/Makefile')
| -rw-r--r-- | resolv/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/resolv/Makefile b/resolv/Makefile index 3fbc320ee1..1d3565d478 100644 --- a/resolv/Makefile +++ b/resolv/Makefile @@ -112,8 +112,11 @@ libresolv-routines := res_comp res_debug \ ns_samedomain ns_date res_enable_icmp \ compat-hooks compat-gethnamaddr -libanl-routines := gai_cancel gai_error gai_misc gai_notify gai_suspend \ - getaddrinfo_a +$(libanl-routines-var) += \ + gai_cancel gai_error gai_misc gai_notify gai_suspend getaddrinfo_a + +libanl-routines += libanl-compat +libanl-shared-only-routines += libanl-compat subdir-dirs = nss_dns vpath %.c nss_dns |
