]> git.sesse.net Git - vlc/blobdiff - src/modules/os.c
Privatize vlc_module_create()
[vlc] / src / modules / os.c
index c40986fd2f432b880b7c8c617d358650da3d8852..4a8912799533be8bc24249e5d12662685172cf7f 100644 (file)
@@ -133,7 +133,7 @@ int module_Call( vlc_object_t *obj, module_t *p_module )
 /* Make sure libvlccore is in the global namespace */
 static void load_libvlccore( void )
 {
-    if( !dlsym( RTLD_DEFAULT, "vlc_module_create" )
+    if( !dlsym( RTLD_DEFAULT, "libvlc_Quit" )
      && !dlopen( "libvlccore.so", RTLD_GLOBAL|RTLD_NOLOAD ) )
         fprintf( stderr, "ERROR: failed loading libvlccore\n" );
 }