]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - login/Makefile
Update.
[thirdparty/glibc.git] / login / Makefile
index f6dc62f5242d8615688316cb6539d7b8c1679ccb..638421eca5c54422bb526f2b6bdbee387c50adce 100644 (file)
@@ -53,6 +53,11 @@ libutil-routines:= login login_tty logout logwtmp openpty forkpty
 
 include ../Rules
 
+ifeq (yes,$(build-static-nss))
+otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
+            $(resolvobjdir)/libresolv.a $(common-objpfx)libc.a
+endif
+
 # pt_chown needs to be setuid root.
 $(inst_libexecdir)/pt_chown: $(objpfx)pt_chown $(+force)
        $(make-target-directory)