summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--acinclude.m4.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/acinclude.m4.in b/acinclude.m4.in
index 950e6dd..001c447 100644
--- a/acinclude.m4.in
+++ b/acinclude.m4.in
@@ -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)