[sclug] Staticly link smbclient
J.Mann
jon at spinis-associates.co.uk
Tue May 6 14:50:43 UTC 2008
On Tue, May 06, 2008 at 03:36:15PM +0200, pieter claassen wrote:
> I am trying to link smbclient statically and I have tried:
> 1. ./configure; make LDFLAGS="-static"
I think you are looking for:
./configure --enable-static=yes
See "./configure --help" for more options.
> 2. edited the Makefile and added -static to the bin/smbclient target
Manually editing Autoconf managed Makefiles should be a last
resort :-)
> Any ideas?
If you are on a Debian box, the "libsmbclient-dev" package will provide
you with the static libraries.
Regards,
Jon Mann.
More information about the Sclug
mailing list