about summary refs log tree commit diff
path: root/linuxthreads/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/Makefile')
-rw-r--r--linuxthreads/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile
index 42f06a6645..d6d0a118d6 100644
--- a/linuxthreads/Makefile
+++ b/linuxthreads/Makefile
@@ -120,3 +120,8 @@ $(objpfx)crti.o: $(objpfx)crti.S $(objpfx)defs.h
 
 generated += crti.S defs.h pt-initfini.s
 endif
+
+ifeq (yes,$(build-static-nss))
+otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
+             $(resolvobjdir)/libresolv.a
+endif