Skip to content
Snippets Groups Projects
Commit 432b3d35 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Add missing dlopen flag (if and only if _needed_).


Pointed-out-by: default avatar <jpd@m2x.nl>
parent e127458f
No related branches found
No related tags found
No related merge requests found
......@@ -137,7 +137,7 @@ int module_Call( vlc_object_t *obj, module_t *p_module )
static void load_libvlccore( void )
{
if( !dlsym( RTLD_DEFAULT, "libvlc_Quit" )
&& !dlopen( "libvlccore.so", RTLD_GLOBAL|RTLD_NOLOAD ) )
&& !dlopen( "libvlccore.so", RTLD_LAZY|RTLD_GLOBAL|RTLD_NOLOAD ) )
fprintf( stderr, "ERROR: failed loading libvlccore\n" );
}
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment