summaryrefslogtreecommitdiff
path: root/nscd
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-04-15 06:33:25 +0000
committerRoland McGrath <roland@gnu.org>2005-04-15 06:33:25 +0000
commita56b9599b685c7feaa48e333711e952d3aa3f977 (patch)
tree1cc4707529e84fda3a936b0c3664564375043324 /nscd
parent157ff36409612d7c8afadd5314c8bad28db874c9 (diff)
2005-04-14 Roland McGrath <roland@redhat.com>
[BZ #253] * nscd/Makefile (all-nscd-modules): New variable, include selinux module regardless of configuration. (distribute): Use that instead of $(nscd-modules).
Diffstat (limited to 'nscd')
-rw-r--r--nscd/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/nscd/Makefile b/nscd/Makefile
index 23feca4273..75a9d434f4 100644
--- a/nscd/Makefile
+++ b/nscd/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1998, 2000, 2002, 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 1998,2000,2002,2003,2004,2005 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
@@ -51,6 +51,7 @@ otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
$(resolvobjdir)/libresolv.a
endif
+all-nscd-modules := $(nscd-modules) selinux
ifeq (yes,$(have-selinux))
nscd-modules += selinux
selinux-LIBS := -lselinux
@@ -59,7 +60,7 @@ endif
LDLIBS-nscd = $(selinux-LIBS)
distribute := nscd.h nscd-client.h dbg_log.h \
- $(addsuffix .c, $(filter-out xmalloc, $(nscd-modules))) \
+ $(addsuffix .c, $(filter-out xmalloc,$(all-nscd-modules))) \
nscd_nischeck.c nscd.conf nscd.init nscd_proto.h \
nscd-types.h