- if test -r "$i/lib$PYVERSION.a"; then
- PYLIB="$i/lib$PYVERSION.a"
- PYTHON_LIBS="-L$i -l$PYVERSION -lpthread -ldl -lutil -lm"
+ if test -r "$i/libpython$PYTHON_VERSION.a"; then
+ PYLIB="$i/libpython$PYTHON_VERSION.a"
+ PYTHON_LIBS="-L$i -lpython$PYTHON_VERSION -lpthread -ldl -lutil -lm"