Subject: Buildling a static sshd
To: None <email@example.com>
From: Julio Merino <firstname.lastname@example.org>
Date: 09/01/2002 22:39:01
I'm trying to build a static ssh daemon, so I can place it in a chroot easily.
I'm using pkgsrc/security/openssh package, but I can't get it. I've tried the
$ make LDSTATIC=-static
this left the binaries all dynamic
$ make LDFLAGS=-static
build failed. when linking the ssh binary, it uses '-lssh' and it fails.
Is it there an easy way to compile any package in pkgsrc statically? If not,
how can I manage to get ssh built static?
HispaBSD admin - http://www.HispaBSD.org
For the developer - http://buildtool.sourceforge.net
Julio Merino <email@example.com>