Browse Source

Fix Python library detection on multiarch systems

tags/r14.0.0
Timothy Pearson 6 years ago
parent
commit
39466b7b95
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      acinclude.m4.in

+ 2
- 1
acinclude.m4.in View File

@@ -4949,7 +4949,8 @@ fi

PYTHONINC=-I$python_incdir

python_libdirs="$ac_python_dir/lib$tdelibsuff /usr/lib$tdelibsuff /usr/local /usr/lib$tdelibsuff $kde_extra_libs"
python_multiarch_libdirs="`find /usr/lib/ -maxdepth 1 -type d | xargs echo`"
python_libdirs="$ac_python_dir/lib$tdelibsuff /usr/lib$tdelibsuff /usr/local /usr/lib$tdelibsuff $python_multiarch_libdirs $kde_extra_libs"
AC_FIND_FILE(libpython$version.so, $python_libdirs, python_libdir)
if test ! -r $python_libdir/libpython$version.so; then
AC_FIND_FILE(libpython$version.a, $python_libdirs, python_libdir)

Loading…
Cancel
Save