creating shared object file for pidgin plugin

Etan Reisner pidgin at unreliablesource.net
Mon Jun 22 17:27:05 EDT 2009


On Mon, Jun 22, 2009 at 01:08:43PM +0530, evanescent wrote:
> Hi,
>
> what is the command to make .so file for a pidgin plugin?
> the plugin program contains several C source files.
>
> Thanks.
>
> Nuwan Gunarathna

You need to compile the .c files into .o files and then link all the .o
files into a single .so file.

A number of plugins that ship with pidgin and a number of third-party
plugins do this, you can look at what they do to see how it works.

The pidgin Makefile:s do not have magic for this built-in like they do for
single file plugins.

    -Etan




More information about the Devel mailing list