From 9f77c8c4934538ef7bc6964d8a7e6ac0945c8447 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Sun, 16 Nov 2003 15:58:33 +0000 Subject: Don't install shadow.h if shadow password support is disabled. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index c8a4421f9..7144b1b24 100644 --- a/Makefile +++ b/Makefile @@ -237,6 +237,10 @@ endif ifneq ($(strip $(UCLIBC_HAS_GNU_GETOPT)),y) # Remove getopt header since gnu getopt support is disabled. $(RM) $(PREFIX)$(DEVEL_PREFIX)include/getopt.h +endif +ifneq ($(strip $(HAS_SHADOW)),y) + # Remove getopt header since shadow password support is disabled. + $(RM) $(PREFIX)$(DEVEL_PREFIX)include/shadow.h endif -@for i in `find $(PREFIX)$(DEVEL_PREFIX) -type d` ; do \ chmod 755 $$i; chmod 644 $$i/*.h > /dev/null 2>&1; \ -- cgit v1.2.3