aboutsummaryrefslogtreecommitdiff
path: root/package/dropbear/dropbear.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/dropbear/dropbear.mk')
-rw-r--r--package/dropbear/dropbear.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/dropbear/dropbear.mk b/package/dropbear/dropbear.mk
index c73525b04d..ec678d7e95 100644
--- a/package/dropbear/dropbear.mk
+++ b/package/dropbear/dropbear.mk
@@ -21,6 +21,10 @@ $(eval $(call AUTOTARGETS,package,dropbear))
$(DROPBEAR_HOOK_POST_EXTRACT):
$(SED) 's,^#define XAUTH_COMMAND.*/xauth,#define XAUTH_COMMAND "/usr/bin/xauth,g' $(DROPBEAR_DIR)/options.h
+ifeq ($(BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS),y)
+ $(SED) 's,^#define DO_HOST_LOOKUP.*,/* #define DO_HOST_LOOKUP */,' \
+ $(DROPBEAR_DIR)/options.h
+endif
touch $@
$(DROPBEAR_TARGET_INSTALL_TARGET):