dropbear: link statically if BR2_PREFER_STATIC_LIB
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
b8e52c47d7
commit
7fec8e8b75
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user