bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] GSoC Project | Design and Implementation of a Framework f


From: Eli Zaretskii
Subject: Re: [Bug-wget] GSoC Project | Design and Implementation of a Framework for Plugins
Date: Mon, 20 Mar 2017 21:36:34 +0200

> Date: Tue, 21 Mar 2017 02:29:20 +0700
> From: Didik Setiawan <address@hidden>
> 
> > One way to implement plugins is via libdl (dlopen(), ...), and that is what 
> > I 
> > have in mind. That is not perfectly portable, but our first goal will be 
> > systems that support dlopen().
> 
> So, should I continue to use dlopen() or there is another better method? In 
> case 
> we need more portability.

I'd suggest to use libltdl (part of libtool), which will make these
features more portable.

Note that the GNU project's practice for plugins is to require that
any compatible plugin exports a symbol named plugin_is_GPL_compatible,
to signal that it's released under GPL or a compatible license.  I
think any framework should have the verification of this as its part.

Thanks.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]