glibc: install the obsolete libnsl
authorBaruch Siach <baruch@tkos.co.il>
Tue, 13 Mar 2018 15:59:40 +0000 (17:59 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 19 Mar 2018 08:26:58 +0000 (09:26 +0100)
glibc 2.27 stopped installing libnsl by default. Restore libnsl install
to fix packages, like exim, that use that library.

Fixes (exim):
http://autobuild.buildroot.net/results/a19/a19df43be7d27cf8815e1257122d25aa8285d75b/
http://autobuild.buildroot.net/results/8ec/8ecfc42a81efec8485784f945e231eb40a087b5b/
http://autobuild.buildroot.net/results/054/054eb702a9b8c66454970333ef45a0afccb7cc80/

Cc: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Tested-by: Luca Ceresoli <luca@lucaceresoli.net>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/glibc/glibc.mk

index 00e114566cbe3c659db6a414c19f15fb7693fd1a..f724ced857fe10799f1f75c15ab7773bf6b287c0 100644 (file)
@@ -100,6 +100,7 @@ define GLIBC_CONFIGURE_CMDS
                --disable-profile \
                --without-gd \
                --enable-obsolete-rpc \
+               --enable-obsolete-nsl \
                --enable-kernel=$(call qstrip,$(BR2_TOOLCHAIN_HEADERS_AT_LEAST)) \
                --with-headers=$(STAGING_DIR)/usr/include)
        $(GLIBC_ADD_MISSING_STUB_H)