[nautilus-python] Bug #599992. Look for libpython2.6.so.1.0 instead of just libpython2.6.so. The former is generally
- From: Adam Plumb <adamplumb src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus-python] Bug #599992. Look for libpython2.6.so.1.0 instead of just libpython2.6.so. The former is generally
- Date: Fri, 15 Jan 2010 18:52:48 +0000 (UTC)
commit e60c58ff98f81890a6fb1dae8168fd9ee53158d0
Author: Götz Waschk <waschk mandriva org>
Date: Fri Jan 15 13:51:25 2010 -0500
Bug #599992. 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/nautilus-python.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-python.c b/src/nautilus-python.c
index a923274..8dd0c18 100644
--- a/src/nautilus-python.c
+++ b/src/nautilus-python.c
@@ -207,8 +207,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());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]