diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-01-05 21:30:15 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-01-05 21:30:15 +0000 |
commit | acc5c36a1a42f81f871eb9169d38b6a188174306 (patch) | |
tree | 8c3b508293e231bbe0d900b6c46605298e82b5c8 /configure.in | |
parent | 1f66c15125f31d9d6fa63ea83f67e2bbbfc025f8 (diff) | |
download | navit-acc5c36a1a42f81f871eb9169d38b6a188174306.tar.gz |
Fix:Core:Fixed check for python lib
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1899 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.in b/configure.in index fcd9d9872..12784a904 100644 --- a/configure.in +++ b/configure.in @@ -511,10 +511,8 @@ if test "x${binding_python}" = "xyes"; then AC_MSG_CHECKING(for Python linkage) py_prefix=`$_PATH_PYTHON -c 'import sys; print sys.prefix'` py_ver=`$_PATH_PYTHON -c 'import sys; print sys.version[[:3]]'` - py_libdir="${py_prefix}/lib64/python${py_ver}" - if ! test -d $py_libdir; then - py_libdir="${py_prefix}/lib/python${py_ver}" - fi + py_lib=`$_PATH_PYTHON -c 'import sys; print sys.lib'` + py_libdir="${py_prefix}/${py_lib}/python${py_ver}" PYTHON_CFLAGS="-I${py_prefix}/include/python${py_ver}" if test -f $py_libdir/config/Makefile -a -f $py_prefix/include/python${py_ver}/Python.h; then py_libs=`grep '^LIBS=' $py_libdir/config/Makefile | sed -e 's/^.*=//'` |