Ticket #30722: patch-configure.diff
File patch-configure.diff, 1016 bytes (added by cawka (Alex Afanasyev), 13 years ago) |
---|
-
configure
old new 13126 13126 WIN32_PYTHON_VERSION=`echo $PYTHON_VERSION | sed "s,\.,,"` 13127 13127 13128 13128 python_path=`dirname $PYTHON | sed "s,/bin.*$,,"` 13129 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/" ; do13129 for i in "$python_path/lib/ $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 13130 13130 if test -e "$i"; then 13131 python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print | sed "1q"`13131 python_path=`find $i \( -type f -or -type l \) -name libpython$PYTHON_VERSION.\* -print | sed "1q"` 13132 13132 if test -n "$python_path" ; then 13133 13133 python_lib="python$PYTHON_VERSION" 13134 13134 break