mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-25 04:06:03 +00:00
search for variant names of glib 1.2 lib
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@507 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
77f3b890c2
commit
f90cdfa30d
@ -218,9 +218,12 @@ void *xmms_thread_func_dynamic(void *pvoid)
|
||||
switch(info.xmms.current_project) {
|
||||
|
||||
case (PROJECT_XMMS) :
|
||||
glib_v1_2_handle = dlopen("libglib-1.2.so.0", RTLD_LAZY);
|
||||
/* make an effort to find the glib 1.2 shared lib */
|
||||
glib_v1_2_handle = dlopen("libglib-1.2.so.0", RTLD_LAZY) ||
|
||||
dlopen("libglib12.so", RTLD_LAZY) ||
|
||||
dlopen("libglib.so", RTLD_LAZY);
|
||||
if (!glib_v1_2_handle) {
|
||||
ERR("unable to open libglib-1.2.so.0");
|
||||
ERR("unable to find glib 1.2 shared object lib!");
|
||||
pthread_exit(NULL);
|
||||
}
|
||||
g_free_v1_2=dlsym(glib_v1_2_handle, "g_free");
|
||||
|
Loading…
Reference in New Issue
Block a user