summaryrefslogtreecommitdiff
path: root/package/dropbear/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-08-14 09:03:48 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-08-14 09:03:48 +0200
commit8d2f8e89c7b4ed479c72000e54bc23621e665699 (patch)
treea9f680f731f439723d161d305a7f4eb3042bedb3 /package/dropbear/Makefile
parent8c716c528bc7a91dc1b065269c23707f8c3cb82f (diff)
musl libc compat updates
Diffstat (limited to 'package/dropbear/Makefile')
-rw-r--r--package/dropbear/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/dropbear/Makefile b/package/dropbear/Makefile
index a16c69965..65fe397e4 100644
--- a/package/dropbear/Makefile
+++ b/package/dropbear/Makefile
@@ -26,7 +26,10 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,DROPBEAR,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,DBCONVERT,dropbearconvert,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_DBCONVERT},${PKG_SECTION}))
-TARGET_LDFLAGS+= $(ADK_TARGET_ABI_CFLAGS)
+TARGET_LDFLAGS+= $(ADK_TARGET_ABI_CFLAGS) -static
+ifeq ($(ADK_TARGET_LIB_STATIC_LIBGCC),y)
+TARGET_LDFLAGS+= -static-libgcc
+endif
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
CONFIGURE_ARGS+= --disable-pam \