Skip to content

Commit

Permalink
Fix non-framework python paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
xgalaxy committed Feb 17, 2013
1 parent a3f6987 commit 1e2a78c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ function python_finder {
python_library+="${python_prefix}/Python"
python_include+="${python_prefix}/Headers"
else
which_python=$(python -c 'import platform;print(platform.python_version())' | sed 's/^[ \t]*//')
which_python=$(python -c 'import sys;print(sys.version)' | sed 's/^[ \t]*//')
which_python="python${which_python:0:3}"
lib_python="${python_prefix}/lib/libpython${which_python}"
if [ -f "${lib_python}.a" ]; then
python_library+="${lib_python}.a"
Expand Down

0 comments on commit 1e2a78c

Please sign in to comment.