summaryrefslogtreecommitdiff
path: root/package/dropbear/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/dropbear/Makefile')
-rw-r--r--package/dropbear/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/dropbear/Makefile b/package/dropbear/Makefile
index 69eb5ff5d..08a0743d3 100644
--- a/package/dropbear/Makefile
+++ b/package/dropbear/Makefile
@@ -32,7 +32,9 @@ ifeq ($(ADK_STATIC),y)
TARGET_LDFLAGS+= -static
endif
+ifeq ($(ADK_TARGET_LIB_STATIC_LIBGCC),y)
TARGET_LDFLAGS+= -static-libgcc
+endif
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
CONFIGURE_ARGS+= --disable-pam \
@@ -52,6 +54,7 @@ else
CONFIGURE_ENV+= conf_utmp_location=/var/run/utmp
endif
+
pre-configure:
$(SED) 's,^/\* #define PKG_MULTI.*,#define PKG_MULTI,g' $(WRKBUILD)/options.h
$(SED) 's,^#define DO_HOST_LOOKUP,/* & */,g' $(WRKBUILD)/options.h