From 9e81487306a6a075eac4f28aaa953a8452635ecc Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Fri, 13 Nov 2020 10:06:34 +0100 Subject: libosip2: remove unnecessary dependency libnsl is not actually needed on Linux. It's still used if found, so make sure it is not found. Otherwise it will be used if TARGET_LINKER_AS_NEEDED is not enabled. Signed-off-by: Michael Olbrich --- rules/libosip2.in | 1 - rules/libosip2.make | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/rules/libosip2.in b/rules/libosip2.in index a1124f65a..5565e0801 100644 --- a/rules/libosip2.in +++ b/rules/libosip2.in @@ -2,7 +2,6 @@ menuconfig LIBOSIP2 tristate - select LIBC_NSL prompt "libosip2 " help The GNU oSIP library is an implementation of SIP - rfc3261. diff --git a/rules/libosip2.make b/rules/libosip2.make index f84e87414..dcc6d966e 100644 --- a/rules/libosip2.make +++ b/rules/libosip2.make @@ -27,6 +27,10 @@ LIBOSIP2_LICENSE := LGPL # Prepare # ---------------------------------------------------------------------------- +LIBOSIP2_CONF_ENV := \ + $(CROSS_ENV) \ + ac_cv_lib_nsl_nis_add=no + # # autoconf # -- cgit v1.2.3