Skip to content

Commit da6f4e0

Browse files
authored
Fix check-python.sh
1 parent ac80c55 commit da6f4e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

depends/check-python.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
( python --version || python -V ) 1>/dev/null 2>&1 || { echo "ERROR: Install python before continuing."; exit 1; }
66

77
## Check for python-config
8-
pyprefix=$(python-config --prefix)
8+
pyprefix=$(python-config --prefix || python3-config --prefix)
99
[ $? -eq 0 ] || { echo "ERROR: Install python-dev before continuing."; exit 1; }
1010

1111
## Check for python header files

0 commit comments

Comments
 (0)