From 39466b7b95f25a3e0f6da52b156b194b10cbac9d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 11 Feb 2013 02:21:22 -0600 Subject: Fix Python library detection on multiarch systems --- acinclude.m4.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.1