projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8e52c4
)
dropbear: link statically if BR2_PREFER_STATIC_LIB
author
Peter Korsgaard
<jacmet@sunsite.dk>
Fri, 13 May 2011 10:04:10 +0000
(12:04 +0200)
committer
Peter Korsgaard
<jacmet@sunsite.dk>
Fri, 13 May 2011 10:04:10 +0000
(12:04 +0200)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/dropbear/dropbear.mk
patch
|
blob
|
history
diff --git
a/package/dropbear/dropbear.mk
b/package/dropbear/dropbear.mk
index b36c278a2927f13dd1b630993b2d6ae9176036df..d73e9934667bdeb31a0aaec219a4f436e3687214 100644
(file)
--- 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