mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-01 07:27:43 +00:00
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 \
|
DROPBEAR_MAKE = $(MAKE) MULTI=1 SCPPROGRESS=1 \
|
||||||
PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"
|
PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"
|
||||||
|
|
||||||
|
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
||||||
|
DROPBEAR_MAKE += STATIC=1
|
||||||
|
endif
|
||||||
|
|
||||||
define DROPBEAR_FIX_XAUTH
|
define DROPBEAR_FIX_XAUTH
|
||||||
$(SED) 's,^#define XAUTH_COMMAND.*/xauth,#define XAUTH_COMMAND "/usr/bin/xauth,g' $(@D)/options.h
|
$(SED) 's,^#define XAUTH_COMMAND.*/xauth,#define XAUTH_COMMAND "/usr/bin/xauth,g' $(@D)/options.h
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user