summaryrefslogtreecommitdiff
path: root/package/openssh
diff options
context:
space:
mode:
authorwbx <wbx@openadk.org>2011-04-29 18:09:11 +0200
committerwbx <wbx@openadk.org>2011-04-29 18:09:11 +0200
commited5d1f8b7bfb0015e22dbc95f01a253a81b81f36 (patch)
tree0f0020fa0eb348a1bbbd044b7733c3e8e242e146 /package/openssh
parent7cc2a1778bdea47e6737ed6109fc88e32253a41b (diff)
parentfb5986b361eae7893a57e92ec0a4f820b89bc527 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/openssh')
-rw-r--r--package/openssh/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/openssh/Makefile b/package/openssh/Makefile
index 64a71f7d8..0ce3b3f52 100644
--- a/package/openssh/Makefile
+++ b/package/openssh/Makefile
@@ -75,6 +75,11 @@ CONFIGURE_ARGS+= --disable-strip \
--with-privsep-path=/var/run/sshd \
--with-ssl-dir="${STAGING_TARGET_DIR}/usr"
+ifeq ($(ADK_STATIC),y)
+TARGET_CFLAGS+= -static
+TARGET_LDFLAGS+= -static
+endif
+
openssh-install:
${INSTALL_DIR} ${IDIR_OPENSSH}/etc/ssh
chmod 0700 ${IDIR_OPENSSH}/etc/ssh