How to build Samba4 using static linked libraries

Andrew Bartlett abartlet at samba.org
Mon May 7 16:30:19 MDT 2012


On Mon, 2012-05-07 at 18:21 -0400, peixing.sun at emc.com wrote:
> Thanks very much for answers from both Stefan and Volker.
> 
> The solutions from both of you are built for source3/torture/
> 
> I actually want to build the smbtorture using source code under source4/torture/smb2
> I am trying the solutions you gave, but not sure if they apply to source4/torture/smb2.

Yes, this is a recursive invocation of the waf build from the autoconf
build, which (by design) produces the static linked smbtorture4 that you
desire.

You can of course produce this directly at the top level build, just
follow the pattern in the Makefile-smbtorture4 that was indicated.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org



More information about the samba-technical mailing list