summaryrefslogtreecommitdiff
path: root/grp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'grp/Makefile')
-rw-r--r--grp/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/grp/Makefile b/grp/Makefile
index 282aeb706a..f8e460e27a 100644
--- a/grp/Makefile
+++ b/grp/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1991, 1992, 1996, 1997, 1998 Free Software Foundation, Inc.
+# Copyright (C) 1991, 1992, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -30,6 +30,12 @@ tests := testgrp
include ../Rules
+ifeq (yes,$(build-static-nss))
+otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
+ $(resolvobjdir)/libresolv.a
+endif
+
+
ifeq ($(have-thread-library),yes)
CFLAGS-getgrgid_r.c = -DUSE_NSCD=1