From: Stan Shebs Date: Tue, 3 Nov 2020 21:30:16 +0000 (-0800) Subject: Update build process to create libnsl stub X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bd1e10723b0096d493ed0a4678834c5358bcabd7;p=thirdparty%2Fglibc.git Update build process to create libnsl stub --- diff --git a/Makeconfig b/Makeconfig index f5cd92014f1..c1a395a105f 100644 --- a/Makeconfig +++ b/Makeconfig @@ -1248,7 +1248,7 @@ all-subdirs = csu assert ctype locale intl catgets math setjmp signal \ grp pwd posix io termios resource misc socket sysvipc gmon \ gnulib iconv iconvdata wctype manual shadow gshadow po argp \ crypt localedata timezone rt conform debug mathvec support \ - dlfcn elf + dlfcn elf google-nsl-stub ifndef avoid-generated # sysd-sorted itself will contain rules making the sysd-sorted target diff --git a/google-nsl-stub/shlib-versions b/google-nsl-stub/shlib-versions index ca13c8c1f60..1c88e0caa82 100644 --- a/google-nsl-stub/shlib-versions +++ b/google-nsl-stub/shlib-versions @@ -1 +1 @@ -.*-.*-.* libnsl=1 +libnsl=1 diff --git a/nis/Makefile b/nis/Makefile index d77c6e0c8e5..1f8f153ed40 100644 --- a/nis/Makefile +++ b/nis/Makefile @@ -34,7 +34,8 @@ databases = proto service hosts network grp pwd rpc ethers \ services := nis nisplus endif -extra-libs = libnsl +# Suppress regular libnsl build in favor of the stub in google-nsl-stub. +#extra-libs = libnsl ifeq ($(build-obsolete-nsl),yes) extra-libs += $(services:%=libnss_%) endif