Blame SOURCES/00300-change-so-version-scl.patch

8524d8
diff -up Python-3.4.2/configure.ac.major Python-3.4.2/configure.ac
8524d8
--- Python-3.4.2/configure.ac.major	2014-12-11 12:03:47.436971603 +0100
8524d8
+++ Python-3.4.2/configure.ac	2014-12-11 12:05:33.435973233 +0100
8524d8
@@ -114,7 +114,7 @@ VERSION=PYTHON_VERSION
8524d8
 
8524d8
 # Version number of Python's own shared library file.
8524d8
 AC_SUBST(SOVERSION)
8524d8
-SOVERSION=1.0
8524d8
+SOVERSION=__SCL_NAME__-1.0
8524d8
 
8524d8
 # The later defininition of _XOPEN_SOURCE disables certain features
8524d8
 # on Linux, so we need _GNU_SOURCE to re-enable them (makedev, tm_zone).
8524d8
diff -up Python-3.4.2/configure.major Python-3.4.2/configure
8524d8
--- Python-3.4.2/configure.major	2014-12-11 12:03:39.210893871 +0100
8524d8
+++ Python-3.4.2/configure	2014-12-11 12:05:18.334830535 +0100
8524d8
@@ -3005,7 +3005,7 @@ VERSION=3.4
8524d8
 
8524d8
 # Version number of Python's own shared library file.
8524d8
 
8524d8
-SOVERSION=1.0
8524d8
+SOVERSION=__SCL_NAME__-1.0
8524d8
 
8524d8
 # The later defininition of _XOPEN_SOURCE disables certain features
8524d8
 # on Linux, so we need _GNU_SOURCE to re-enable them (makedev, tm_zone).
8524d8
diff -up Python-3.4.2/configure.ac.scl Python-3.4.2/configure.ac
8524d8
--- Python-3.4.2/configure.ac.scl	2014-12-11 14:05:25.169171359 +0100
8524d8
+++ Python-3.4.2/configure.ac	2014-12-11 14:07:10.945155431 +0100
8524d8
@@ -953,7 +953,7 @@ if test $enable_shared = "yes"; then
8524d8
 	  INSTSONAME="$LDLIBRARY".$SOVERSION
8524d8
 	  if test "$with_pydebug" != yes
8524d8
 	  then
8524d8
-	      PY3LIBRARY=libpython3.so
8524d8
+	      PY3LIBRARY=libpython3.so.__SCL_NAME__
8524d8
 	  fi
8524d8
           ;;
8524d8
     Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*)
8524d8
@@ -968,7 +968,7 @@ if test $enable_shared = "yes"; then
8524d8
 	  INSTSONAME="$LDLIBRARY".$SOVERSION
8524d8
 	  if test "$with_pydebug" != yes
8524d8
           then
8524d8
-	      PY3LIBRARY=libpython3.so
8524d8
+	      PY3LIBRARY=libpython3.so.__SCL_NAME__
8524d8
 	  fi
8524d8
 	  ;;
8524d8
     hp*|HP*)
8524d8
diff -up Python-3.4.2/configure.scl Python-3.4.2/configure
8524d8
--- Python-3.4.2/configure.scl	2014-12-11 14:05:16.490090615 +0100
8524d8
+++ Python-3.4.2/configure	2014-12-11 14:06:42.207888078 +0100
8524d8
@@ -5641,7 +5641,7 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>
8524d8
 	  INSTSONAME="$LDLIBRARY".$SOVERSION
8524d8
 	  if test "$with_pydebug" != yes
8524d8
 	  then
8524d8
-	      PY3LIBRARY=libpython3.so
8524d8
+	      PY3LIBRARY=libpython3.so.__SCL_NAME__
8524d8
 	  fi
8524d8
           ;;
8524d8
     Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*)
8524d8
@@ -5656,7 +5656,7 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>
8524d8
 	  INSTSONAME="$LDLIBRARY".$SOVERSION
8524d8
 	  if test "$with_pydebug" != yes
8524d8
           then
8524d8
-	      PY3LIBRARY=libpython3.so
8524d8
+	      PY3LIBRARY=libpython3.so.__SCL_NAME__
8524d8
 	  fi
8524d8
 	  ;;
8524d8
     hp*|HP*)
8524d8
diff -up Python-3.4.2/Makefile.pre.in.scl Python-3.4.2/Makefile.pre.in
8524d8
--- Python-3.4.2/Makefile.pre.in.scl	2014-12-11 14:29:07.244473958 +0100
8524d8
+++ Python-3.4.2/Makefile.pre.in	2014-12-11 14:29:28.449674732 +0100
8524d8
@@ -581,7 +581,7 @@ libpython$(LDVERSION).so: $(LIBRARY_OBJS
8524d8
 		$(BLDSHARED) -o $@ $(LIBRARY_OBJS) $(MODLIBS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
8524d8
 	fi
8524d8
 
8524d8
-libpython3.so:	libpython$(LDVERSION).so
8524d8
+libpython3.so.__SCL_NAME__:	libpython$(LDVERSION).so
8524d8
 	$(BLDSHARED) $(NO_AS_NEEDED) -o $@ -Wl,-h$@ $^
8524d8
 
8524d8
 libpython$(LDVERSION).dylib: $(LIBRARY_OBJS)