cshring at gmail.com
Fri Oct 13 13:33:31 GMT 2006
On 10/13/06, Novgorodsky, Sergey <sergeynovgorodsky at insiteone.com> wrote:
> Couple of questions on building a vfs module:
> 1. I made changes to source/Makefile to build my vfs module.
> Is there other way to do it, e.g. some 'configure' option ?
> 2. My vfs module needs to use some code from a static library (.a),
> where/how do I need to make changes to link in the library?
> I tried to add stuff like -L. -lmylib in Makefile for my vfs module
> but it doesn't seem to work.
You would require to list your vfs module in the configure.in and
makefile.in . Following which run autogen.sh && ./configure && make
Check exisiting vfs module rules in the configure.in and makefile.in
Add the link to your static library for vfs module in the makefile.in
More information about the samba-technical