claws-mail-extra-plugins (3.8.0-1) python-plugin00dont-dlopen-symlink.patch

Summary

 python_plugin-0.9/configure    |    2 +-
 python_plugin-0.9/configure.ac |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

Description: Don't dlopen libpython2.X.so symlink.
 Don't dlopen libpython2.X.so symlink, but the real file it's pointing to.
 Python libraries never break ABI between major releases, so hardcoding
 SOVERSION is safe here.
Bug-Debian: http://bugs.debian.org/644582
Author: Jakub Wilk <jwilk@debian.org>
Last-Update: 2011-10-14

--- a/python_plugin-0.9/configure.ac
+++ b/python_plugin-0.9/configure.ac
@@ -110,7 +110,7 @@
     fi
 
     # libpython.so
-    PYTHON_SHARED_LIB="libpython${PYTHON_VERSION}.so"
+    PYTHON_SHARED_LIB="libpython${PYTHON_VERSION}.so.1"
 	found_libpython_so="no"
 	if test -f "$PYTHON_PREFIX/lib/$PYTHON_SHARED_LIB"; then
 		found_libpython_so="yes"
--- a/python_plugin-0.9/configure
+++ b/python_plugin-0.9/configure
@@ -14315,7 +14315,7 @@
     fi
 
     # libpython.so
-    PYTHON_SHARED_LIB="libpython${PYTHON_VERSION}.so"
+    PYTHON_SHARED_LIB="libpython${PYTHON_VERSION}.so.1"
 	found_libpython_so="no"
 	if test -f "$PYTHON_PREFIX/lib/$PYTHON_SHARED_LIB"; then
 		found_libpython_so="yes"