Fix non-framework python library path.

This commit is contained in:
Robert D. Blanchet Jr 2013-02-17 10:47:14 -08:00
parent 1e2a78c87d
commit e5b9ffb637

View File

@ -34,7 +34,7 @@ function python_finder {
else else
which_python=$(python -c 'import sys;print(sys.version)' | sed 's/^[ \t]*//') which_python=$(python -c 'import sys;print(sys.version)' | sed 's/^[ \t]*//')
which_python="python${which_python:0:3}" which_python="python${which_python:0:3}"
lib_python="${python_prefix}/lib/libpython${which_python}" lib_python="${python_prefix}/lib/lib${which_python}"
if [ -f "${lib_python}.a" ]; then if [ -f "${lib_python}.a" ]; then
python_library+="${lib_python}.a" python_library+="${lib_python}.a"
else else