Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37738727
en ru br
ALT Linux repos
S:0.97.4-alt0.9
5.0: 0.97-alt2
4.1: 0.96.1-alt3.1
4.0: 0.96.1-alt1
3.0: 0.94-alt9cvs20050730

Other repositories
Upstream:0.96-pre9

Group :: Office
RPM: dia

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: dia-0.96-alt-python_lib.patch
Download


--- dia-0.96/acinclude.m4.python_lib	2007-03-17 12:20:47 +0300
+++ dia-0.96/acinclude.m4	2007-03-28 11:50:59 +0400
@@ -223,9 +223,9 @@ AC_DEFUN([AM_CHECK_PYTHON_LIB],
 [AC_REQUIRE([AM_PATH_PYTHON])
 AC_REQUIRE([AM_CHECK_PYTHON_HEADERS])
 
-AC_MSG_CHECKING(for libpython${PYTHON_VERSION}.a)
+AC_MSG_CHECKING(for libpython${PYTHON_VERSION}.so)
 
-py_config_dir="$py_prefix/lib/python${PYTHON_VERSION}/config"
+py_config_dir="${libdir}/python${PYTHON_VERSION}/config"
 
 py_makefile="${py_config_dir}/Makefile"
 if test -f "$py_makefile"; then
@@ -235,7 +235,7 @@ dnl extra required libs
   py_other_libs=`sed -n -e 's/^LIBS=\(.*\)/\1/p' $py_makefile`
 
 dnl now the actual libpython
-  if test -e "${py_config_dir}/libpython${PYTHON_VERSION}.a"; then
+  if test -e "${libdir}/libpython${PYTHON_VERSION}.so"; then
     PYTHON_LIBS="-L${py_config_dir} -lpython${PYTHON_VERSION} $py_localmodlibs $py_basemodlibs $py_other_libs"
     AC_MSG_RESULT(found)
   else
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin