diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-04-29 08:41:13 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-04-29 08:41:13 +0200 |
commit | 023429a695e318bdbceef0ce5903060d361e15b2 (patch) | |
tree | 63dc4d49fb28f69d4d3888210c3da8fdb449c571 /package/openssh | |
parent | 9d4bc97935f909eb31969f8ec40c9bb6698a5e3f (diff) |
static linking is very package dependent, so do not handle it globally
Diffstat (limited to 'package/openssh')
-rw-r--r-- | package/openssh/Makefile | 5 |
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 |