Allow to install glibc's libanl (asynchronous name lookup) to target.
---
rules/glibc.in | 6 ++++++
rules/glibc.make | 4 ++++
2 files changed, 10 insertions(+)
diff --git a/rules/glibc.in b/rules/glibc.in
index 662f0aa..d58705a 100644
--- a/rules/glibc.in
+++ b/rules/glibc.in
@@ -163,6 +163,12 @@ config GLIBC_RESOLV
will need both libraries if your /etc/nsswitch.conf contains
a line
like "hosts: file dns"
+config GLIBC_ANL
+ bool
+ prompt "Install libanl"
+ help
+ This library provides an asynchronous name lookup functions
+
config GLIBC_NSL
bool
prompt "Install libnsl"
diff --git a/rules/glibc.make b/rules/glibc.make
index 4018e01..c4b0c40 100644
--- a/rules/glibc.make
+++ b/rules/glibc.make
@@ -100,6 +100,10 @@ ifdef PTXCONF_GLIBC_RESOLV
@$(call install_copy_toolchain_lib, glibc, libresolv.so)
endif
+ifdef PTXCONF_GLIBC_ANL
+ @$(call install_copy_toolchain_lib, glibc, libanl.so)
+endif
+
ifdef PTXCONF_GLIBC_NSL
@$(call install_copy_toolchain_lib, glibc, libnsl.so)
endif
--
2.1.4
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de