[git commit nptl] No need for a libresolv stub
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Fri Sep 18 14:07:31 UTC 2009
commit: http://git.uclibc.org/uClibc/commit/?id=573dbc3460862ba0b68923d2b0163141f98ffe32
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl
libresolv is just a stub anyway, default to not building it.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
extra/Configs/Config.in | 6 ++++++
libresolv/Makefile.in | 2 ++
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 5c56f93..dcc1b1b 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 b7475d7..879603b 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)
--
1.6.3.3
More information about the uClibc-cvs
mailing list