[MPlayer-dev-eng] [PATCH] libvo/gl_common.c: Use RTLD_DEFAULT instead of 0 for dlsym to increase portability
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Thu Apr 23 12:19:15 CEST 2009
On Thu, Apr 23, 2009 at 11:52:43AM +0200, Reimar Döffinger wrote:
> It might be better to just bite the performance bullet and just always
> use
> > void *handle = dlopen(NULL, RTLD_LAZY);
> > void *ret = dlsym(handle, s);
> > dclose(handle);
> > return ret;
>
> _But_ I think this had issues on some other systems - they may be gone
> nowadays though.
Oh well, I just changed it this way, it works on Linux, let's see what
happens on other systems...
More information about the MPlayer-dev-eng
mailing list