--- configure.orig 2009-07-28 22:04:28.000000000 +0200
+++ configure 2009-07-28 22:05:29.000000000 +0200
python_path=`dirname $PYTHON | sed "s,/bin.*$,,"`
for i in "$python_path/lib/python$PYTHON_VERSION/config/" "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/config/" "$python_path/lib/python/" "$python_path/" ; do
- python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print | sed "1q"`
+ python_path=`find $i -type l -name libpython$PYTHON_VERSION.* -print | sed "1q"`
if test -n "$python_path" ; then
python_lib="python$PYTHON_VERSION"