summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-11-19 18:03:00 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-11-19 18:03:00 +0100
commita59d48422fc6073f254a1f9cb8580f23ab921568 (patch)
treefa75e7e78798280b6f2dc41cec892709585d765f
parent62447c11492169462fa4b19c97413d5492ba7854 (diff)
libnsl: add knob to disable it
It's a dummy either way. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--extra/Configs/Config.in6
-rw-r--r--libnsl/Makefile.in4
2 files changed, 8 insertions, 2 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 7f14b9c3b..833d180e4 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -1191,6 +1191,12 @@ config UCLIBC_HAS_RESOLV_STUB
help
Provide a dummy resolv library.
+config UCLIBC_HAS_LIBNSL_STUB
+ bool "Provide libnsl stub"
+ default n
+ help
+ Provide a dummy nsl library.
+
endif
diff --git a/libnsl/Makefile.in b/libnsl/Makefile.in
index fac88ce55..24d530a83 100644
--- a/libnsl/Makefile.in
+++ b/libnsl/Makefile.in
@@ -28,8 +28,8 @@ libnsl-a-y := $(libnsl_OBJ)
endif
libnsl-so-y := $(libnsl_OBJ:.o=.os)
-lib-a-y += $(top_builddir)lib/libnsl.a
-lib-so-y += $(top_builddir)lib/libnsl.so
+lib-a-$(UCLIBC_HAS_LIBNSL_STUB) += $(top_builddir)lib/libnsl.a
+lib-so-$(UCLIBC_HAS_LIBNSL_STUB) += $(top_builddir)lib/libnsl.so
objclean-y += libnsl_clean
ifeq ($(DOPIC),y)