summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2020-11-13 10:06:34 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-11-13 11:27:18 +0100
commit9e81487306a6a075eac4f28aaa953a8452635ecc (patch)
tree5b2777e31823eb2f434f19100932f3281c0f8a6a
parentc9921e01d05a76041bc3616351a63b5823eb51bb (diff)
downloadptxdist-9e81487306a6a075eac4f28aaa953a8452635ecc.tar.gz
ptxdist-9e81487306a6a075eac4f28aaa953a8452635ecc.tar.xz
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 <m.olbrich@pengutronix.de>
-rw-r--r--rules/libosip2.in1
-rw-r--r--rules/libosip2.make4
2 files changed, 4 insertions, 1 deletions
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
#