Преглед на файлове

Don't install shadow.h if shadow password support is disabled.

Manuel Novoa III преди 22 години
родител
ревизия
9f77c8c493
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      Makefile

+ 4 - 0
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; \