building openssh executeables mostly statically

Damien Miller djm at mindrot.org
Sat Mar 9 09:02:12 EST 2002


Phil Howard wrote:
> Is there a configure option to build OpenSSH mostly statically?
> I want to have openssl libraries statically linked.  I'd prefer
> libc (and related) not be, and libz could go either way.

You have to hand edit the makefile. Have a look at
contrib/redhat/openssh.spec to see how to do it with perl.

-d






More information about the openssh-unix-dev mailing list