diff options
Diffstat (limited to 'package/dropbear/dropbear.mk')
-rw-r--r-- | package/dropbear/dropbear.mk | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/package/dropbear/dropbear.mk b/package/dropbear/dropbear.mk index fab7c9678..d73e99346 100644 --- a/package/dropbear/dropbear.mk +++ b/package/dropbear/dropbear.mk @@ -9,14 +9,13 @@ DROPBEAR_SOURCE = dropbear-$(DROPBEAR_VERSION).tar.gz DROPBEAR_SITE = http://matt.ucc.asn.au/dropbear/releases DROPBEAR_DEPENDENCIES = zlib DROPBEAR_TARGET_BINS = dbclient dropbearkey dropbearconvert scp ssh -# configure misdetects this as no, but the result is not used for -# anything. Unfortunately it breaks the build for other packages also -# checking for struct sockaddr_storage when using a shared config -# cache, so force it to yes -DROPBEAR_CONF_ENV = ac_cv_type_struct_sockaddr_storage=yes DROPBEAR_MAKE = $(MAKE) MULTI=1 SCPPROGRESS=1 \ PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" +ifeq ($(BR2_PREFER_STATIC_LIB),y) +DROPBEAR_MAKE += STATIC=1 +endif + define DROPBEAR_FIX_XAUTH $(SED) 's,^#define XAUTH_COMMAND.*/xauth,#define XAUTH_COMMAND "/usr/bin/xauth,g' $(@D)/options.h endef |