[nautilus-python/0.5: 7/11] Backport from 0.6.1,	lookfor libpythonX.so.1.0 instead of libpythonX.so. The latter is	generally on
- From: Adam Plumb <adamplumb src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [nautilus-python/0.5: 7/11] Backport from 0.6.1,	lookfor libpythonX.so.1.0 instead of libpythonX.so. The latter is	generally on
- Date: Fri, 26 Feb 2010 21:39:25 +0000 (UTC)
commit 1f8560ab34456b67e66d160278be6cbbcfaf6a44
Author: Adam Plumb <adamplumb gmail com>
Date:   Fri Feb 26 16:33:16 2010 -0500
    Backport from 0.6.1, lookfor libpythonX.so.1.0 instead of libpythonX.so.  The latter is generally only included in devel packages
 src/nautilus-python.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-python.c b/src/nautilus-python.c
index 1475eca..58b3d51 100644
--- a/src/nautilus-python.c
+++ b/src/nautilus-python.c
@@ -206,8 +206,8 @@ nautilus_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());
 	debug("Py_Initialize");
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]