Browse Source

ipsec-tools: Stop unconditionally disabling shadow passwords

Racoon requires shadow password support when built for a system with shadow passwords enabled.

Signed-off-by: Matthew Sykes <matthew.sykes@gmail.com>
Matthew Sykes 10 years ago
parent
commit
916014b39b
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      net/ipsec-tools/Makefile

+ 2
- 0
net/ipsec-tools/Makefile View File

@@ -70,7 +70,9 @@ define Build/Configure
70 70
 		configure \
71 71
 	);
72 72
 	$(call Build/Configure/Default)
73
+ifndef CONFIG_SHADOW_PASSWORDS
73 74
 	echo "#undef HAVE_SHADOW_H" >> $(PKG_BUILD_DIR)/config.h
75
+endif
74 76
 endef
75 77
 
76 78
 define Package/ipsec-tools/install