From: Peter Korsgaard Date: Fri, 13 May 2011 10:04:10 +0000 (+0200) Subject: dropbear: link statically if BR2_PREFER_STATIC_LIB X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7fec8e8b753a77f4635dfa74819bb75354b90ee1;p=buildroot.git dropbear: link statically if BR2_PREFER_STATIC_LIB Signed-off-by: Peter Korsgaard --- 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