[vlc-devel] [patch] Alter symbol-globalising dlopen(RTLD_NOLOAD) call to succeed

Rémi Denis-Courmont rdenis at simphalempin.com
Thu Feb 12 13:40:29 CET 2009

On Thu, 12 Feb 2009 13:09:03 +0100 (CET), jpd at m2x.nl wrote:
> On Thu, February 12, 2009 10:31 am, R\xc3\x83\xc2\xa9mi Denis-Courmont
> wrote:
>> On Wed, 11 Feb 2009 22:07:06 +0100 (CET), jpd at m2x.nl wrote:
>>> Always run dlopen(vlccore,RTLD_NOLOAD) when available and add RTLD_NOW
>>> to prevent the call from failing with an invalid argument error.
>> This patch is wrong. We don't want to load libvlccore
>> unconditionnally. Otherwise, we would link plugins against it in the
>> first place, and get rid of this hack altogether.
> As you'll note, RTLD_NOLOAD is still set.

So what? That's not the point.

Rémi Denis-Courmont

More information about the vlc-devel mailing list