From 7fec8e8b753a77f4635dfa74819bb75354b90ee1 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Fri, 13 May 2011 12:04:10 +0200 Subject: [PATCH] dropbear: link statically if BR2_PREFER_STATIC_LIB Signed-off-by: Peter Korsgaard --- package/dropbear/dropbear.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/dropbear/dropbear.mk b/package/dropbear/dropbear.mk index b36c278a29..d73e993466 100644 --- a/package/dropbear/dropbear.mk +++ b/package/dropbear/dropbear.mk @@ -12,6 +12,10 @@ DROPBEAR_TARGET_BINS = dbclient dropbearkey dropbearconvert scp ssh 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 -- 2.30.2