summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-09-17 09:29:59 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-09-17 09:29:59 +0200
commit0b03a65afa92d2e4c51ff49d39d4d34143749305 (patch)
treebfa0eb655b172f4b7ff02c4eda20543d39ad50d0
parent554b79bfb7f056636b65bca27c01d0ef669977f3 (diff)
No need for a libresolv stub
libresolv is just a stub anyway, default to not building it. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--extra/Configs/Config.in6
-rw-r--r--libresolv/Makefile.in2
2 files changed, 8 insertions, 0 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 0108cb0eb..efa90d7df 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -1183,6 +1183,12 @@ config UCLIBC_HAS_EXTRA_COMPAT_RES_STATE
Answer Y if selecting UCLIBC_HAS_COMPAT_RES_STATE is not enough.
As far as I can say, this should never be needed.
+config UCLIBC_HAS_RESOLV_STUB
+ bool "Provide libresolv stub"
+ default n
+ help
+ Provide a dummy resolv library.
+
endif
diff --git a/libresolv/Makefile.in b/libresolv/Makefile.in
index b7475d757..879603be7 100644
--- a/libresolv/Makefile.in
+++ b/libresolv/Makefile.in
@@ -28,8 +28,10 @@ libresolv-a-y := $(libresolv_OBJ)
endif
libresolv-so-y := $(libresolv_OBJ:.o=.os)
+ifeq ($(UCLIBC_HAS_RESOLV_STUB),y)
lib-a-y += $(top_builddir)lib/libresolv.a
lib-so-y += $(top_builddir)lib/libresolv.so
+endif
objclean-y += libresolv_clean
ifeq ($(DOPIC),y)