Ticket #20608: patch-configure.diff
File patch-configure.diff, 725 bytes (added by neric27@…, 15 years ago) |
---|
-
configure
old new 20725 20725 python_path=`dirname $PYTHON | sed "s,/bin.*$,,"` 20726 20726 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 20727 20727 if test -e "$i"; then 20728 python_path=`find $i -type f-name libpython$PYTHON_VERSION.* -print | sed "1q"`20728 python_path=`find $i -type l -name libpython$PYTHON_VERSION.* -print | sed "1q"` 20729 20729 if test -n "$python_path" ; then 20730 20730 python_lib="python$PYTHON_VERSION" 20731 20731 break