summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c8a4421f9..7144b1b24 100644
--- a/Makefile
+++ b/Makefile
@@ -238,6 +238,10 @@ 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; \
done;