From: Martin v. Löwis Date: Fri, 31 Oct 2003 15:42:07 +0000 (+0000) Subject: Patch #833710: Set INSTSONAME on Solaris. Backported to 2.3. X-Git-Tag: v2.4a1~1337 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2389c41a1029c4017055e5e4fd07c6bfd4bda157;p=python Patch #833710: Set INSTSONAME on Solaris. Backported to 2.3. --- diff --git a/configure b/configure index 837f3e80c7..1475a04bdb 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.437 . +# From configure.in Revision: 1.438 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.57 for python 2.4. # @@ -3595,6 +3595,7 @@ _ACEOF LDLIBRARY='libpython$(VERSION).so' BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(VERSION)' RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH} + INSTSONAME="$LDLIBRARY".$SOVERSION ;; Linux*|GNU*|NetBSD*) LDLIBRARY='libpython$(VERSION).so' diff --git a/configure.in b/configure.in index 5a4a22c85c..289b2cf513 100644 --- a/configure.in +++ b/configure.in @@ -515,6 +515,7 @@ if test $enable_shared = "yes"; then LDLIBRARY='libpython$(VERSION).so' BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(VERSION)' RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH} + INSTSONAME="$LDLIBRARY".$SOVERSION ;; Linux*|GNU*|NetBSD*) LDLIBRARY='libpython$(VERSION).so'