[vlc-devel] [PATCH 2/2] configure: split dynamic plugins from dynamic loader

Remi Denis-Courmont remi at remlab.net
Fri Mar 6 16:35:55 CET 2020

Le 2020-03-06 17:04, Alexandre Janniaux a écrit :
>> We can't do that with the current system. Dynamic loading will fail
>> miserably at run-time if you build libvlccore statically. And even if 
>> we
>> could, this patch is just gratuitously renaming.
> What do you mean?

I mean exactly what I wrote. Dynamically loading plugins will fail if 
libvlccore is not a shared object.

> It's not a gratuitously renaming btw, the HAVE_DYNAMIC_PLUGINS
> is still existing, but will be different from the other
> HAVE_DYNAMIC_LOADER. I can do the reverse if you have better
> name but HAVE_DYNAMIC_PLUGIN to tell «we're building the core
> plugins as dynamic plugins» and HAVE_DYNAMIC_LOADER for
> «we're enabling the dynamic loader in libvlccore» seemed to
> make sense to me.

You can't load dynamic plugins without the dynamic loader, and you can't 
use the dynamic loader without dynamic plugins to load with it.

Rémi Denis-Courmont

More information about the vlc-devel mailing list