LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File xmms-1.2.6-dlopen-fix.diff of Package xmms (Project home:donharter:home:FreeCAD)

--- xmms/pluginenum.c
+++ xmms/pluginenum.c
@@ -262,7 +262,7 @@
 	 */
 	return shl_load(filename, BIND_DEFERRED, 0); 
 #else
-	return dlopen(filename, RTLD_NOW);
+	return dlopen(filename, RTLD_NOW | ( (strstr(filename,"libALSA")==NULL)? 0 : RTLD_GLOBAL) );
 #endif
 }