mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
* x11conn.c (x11_available): If the X11 shared library cannot be
found (maybe because there is neither an .la file nor a .so symlink), try libX11.so.6 explicitly. Fixes Bug #24505.
This commit is contained in:
parent
bdf23438af
commit
281ec8b875
@ -1,3 +1,9 @@
|
||||
2008-12-19 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* x11conn.c (x11_available): If the X11 shared library cannot be
|
||||
found (maybe because there is neither an .la file nor a .so
|
||||
symlink), try libX11.so.6 explicitly. Fixes Bug #24505.
|
||||
|
||||
2008-12-18 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* main.c (main): It is now possible to invoke mcedit with
|
||||
|
@ -128,11 +128,10 @@ static gboolean x11_available(void)
|
||||
return TRUE;
|
||||
|
||||
x11_module_fname = g_module_build_path (NULL, "X11");
|
||||
|
||||
if (x11_module_fname == NULL)
|
||||
return FALSE;
|
||||
|
||||
x11_module = g_module_open (x11_module_fname, G_MODULE_BIND_LAZY);
|
||||
if (x11_module == NULL)
|
||||
x11_module = g_module_open ("libX11.so.6", G_MODULE_BIND_LAZY);
|
||||
|
||||
g_free (x11_module_fname);
|
||||
|
||||
if (x11_module == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user