[Xfce4-commits] <thunarx-python:master> Look for libpython2.6.so.1.0 instead of just libpython2.6.so. The former is generally part of the dev/devel package and may not be included in a standard install

Adam Plumb noreply at xfce.org
Thu May 27 18:14:11 CEST 2010


Updating branch refs/heads/master
         to d54121473269df8e8b8f33af89d7eba64d4cf7e5 (commit)
       from a84d80529e9b97ce528d731132886d123d9b6cb0 (commit)

commit d54121473269df8e8b8f33af89d7eba64d4cf7e5
Author: Adam Plumb <adamplumb at gmail.com>
Date:   Fri Jan 15 14:02:11 2010 -0500

    Look for libpython2.6.so.1.0 instead of just libpython2.6.so. The former is generally part of the dev/devel package and may not be included in a standard install

 src/thunarx-python.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/thunarx-python.c b/src/thunarx-python.c
index d0ff2ef..e9b35a2 100644
--- a/src/thunarx-python.c
+++ b/src/thunarx-python.c
@@ -121,8 +121,8 @@ thunarx_python_init_python (void)
     if (Py_IsInitialized())
         return TRUE;
 
-    debug ("g_module_open " PY_LIB_LOC "/libpython" PYTHON_VERSION "." G_MODULE_SUFFIX);  
-    libpython = g_module_open (PY_LIB_LOC "/libpython" PYTHON_VERSION "." G_MODULE_SUFFIX, 0);
+    debug ("g_module_open " PY_LIB_LOC "/libpython" PYTHON_VERSION "." G_MODULE_SUFFIX ".1.0");  
+    libpython = g_module_open (PY_LIB_LOC "/libpython" PYTHON_VERSION "." G_MODULE_SUFFIX ".1.0", 0);
     if (!libpython)
         g_warning ("g_module_open libpython failed: %s", g_module_error());
   



More information about the Xfce4-commits mailing list