[PATCH] Allow ldflags to be used in SAMBA_MODULE()

Jon Knight J.P.Knight at lboro.ac.uk
Thu Jul 25 09:05:21 MDT 2013


On Wed, 24 Jul 2013, Richard Sharpe wrote:
> Have you looked at developing your module outside of the Samba source 
> tree?
>
> There are instructions on how to do this, at least for the stuff in
> source3 here: http://www.samba.org/~sharpe in The Samba VFS document.
>
> I am just curious and will need to look at how much updating the
> document needs in light of Samba 4 being out.

No we haven't; we followed section 4 of that document (which is great by 
the way - really useful) that says, "If you are building your module
within the Samba source tree it will need to be placed in the directory 
source3/modules, and the main file (the one that contains your module's 
initialization routine as mentioned below) must be called 
vfs_<module_name>.c"  That appeared to be the "approved" way of building 
modules, as the section on building out of tree had a "Note!" section 
with a bug issue attached to it.  Apologies if we've misunderstood this 
and should have been building outside of the source tree.



More information about the samba-technical mailing list