diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2003-11-16 15:58:33 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2003-11-16 15:58:33 +0000 |
commit | 9f77c8c4934538ef7bc6964d8a7e6ac0945c8447 (patch) | |
tree | bcdd806938e6fea3103347270141a55a21a72b29 | |
parent | fd7ec01d623badde0f36dce9e898eadb7b92543a (diff) |
Don't install shadow.h if shadow password support is disabled.
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |