[Samba] smbclient static build
cs at samba.org
Tue Oct 17 20:47:51 UTC 2023
On Wed, Oct 18, 2023 at 07:14:26AM +1300, Andrew Bartlett via samba wrote:
> On Tue, 2023-10-17 at 13:08 +0200, banda bassotti via samba wrote:
> > hello, has anyone managed to compile static smbclient? it's a
> > question that
> > is asked from time to time but there are never comprehensive answers:
> > if yes
> > how, no, too complex :)
> > thnx a lot.
> It may or may not be possible, but if it is then the command should be:
> ./configure --bundled-libraries=ALL --nonshared-binary=smbclient
> make -j
The naming in the waf build files is slightly different.
make -j client/smbclient
seems to do the trick. The resulting binary only depends on the system
libraries. The result is then in bin/smbclient.
More information about the samba