aboutsummaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
Diffstat (limited to 'posix')
-rw-r--r--posix/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/posix/Makefile b/posix/Makefile
index 06ec38de3a..f313bb4d66 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -85,6 +85,13 @@ generated := $(addprefix wordexp-test-result, 1 2 3 4 5 6 7 8 9 10) \
include ../Rules
+# We need it for "make check" only. We can skip them if they haven't
+# been built yet during "make".
+otherlibs += $(wildcard $(nssobjdir)/libnss_files.a \
+ $(resolvobjdir)/libnss_dns.a \
+ $(resolvobjdir)/libresolv.a)
+endif
+
ifeq (no,$(cross-compiling))
# globtest and wordexp-test currently only works with shared libraries
ifeq (yes,$(build-shared))