File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -582,6 +582,7 @@ valopt sysconfdir "/etc" "install system configuration files"
582
582
valopt datadir " ${CFG_PREFIX} /share" " install data"
583
583
valopt infodir " ${CFG_PREFIX} /share/info" " install additional info"
584
584
valopt llvm-root " " " set LLVM root"
585
+ valopt python " " " set path to python"
585
586
valopt jemalloc-root " " " set directory where libjemalloc_pic.a is located"
586
587
valopt build " ${DEFAULT_BUILD} " " GNUs ./configure syntax LLVM build triple"
587
588
valopt android-cross-path " /opt/ndk_standalone" " Android NDK standalone path"
@@ -695,7 +696,9 @@ putvar CFG_BOOTSTRAP_KEY
695
696
step_msg " looking for build programs"
696
697
697
698
probe_need CFG_CURLORWGET curl wget
698
- probe_need CFG_PYTHON python2.7 python2.6 python2 python
699
+ if [ -z " $CFG_PYTHON_PROVIDED " ]; then
700
+ probe_need CFG_PYTHON python2.7 python2.6 python2 python
701
+ fi
699
702
700
703
python_version=$( $CFG_PYTHON -V 2>&1 )
701
704
if [ $( echo $python_version | grep -c ' ^Python 2\.[4567]' ) -ne 1 ]; then
You can’t perform that action at this time.
0 commit comments