mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 11:46:30 +00:00
dropbear: Do not build static binary
Dropbear 2018.76 now uses the --enable-static option to indicate that a static binary should be built. This will incorrectly pick up the generic buildroot option intended for building static libraries, causing an unwanted static binary build with BR2_SHARED_STATIC_LIBS. Fix by appending an --disable-static configure flag, overriding the buildroot default. Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com> Reviewed-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit c9922a4d2fc79e1d17f85e6f74c1e6ece9c91092) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
c354b1edb5
commit
25c079de0e
@ -27,8 +27,11 @@ DROPBEAR_MAKE = \
|
||||
$(MAKE) MULTI=1 SCPPROGRESS=1 \
|
||||
PROGRAMS="$(DROPBEAR_PROGRAMS)"
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
DROPBEAR_CONF_OPTS += --enable-static
|
||||
# With BR2_SHARED_STATIC_LIBS=y the generic infrastructure adds a
|
||||
# --enable-static flags causing dropbear to be built as a static
|
||||
# binary. Adding a --disable-static reverts this
|
||||
ifeq ($(BR2_SHARED_STATIC_LIBS),y)
|
||||
DROPBEAR_CONF_OPTS += --disable-static
|
||||
endif
|
||||
|
||||
# Ensure that dropbear doesn't use crypt() when it's not available
|
||||
|
Loading…
x
Reference in New Issue
Block a user