浏览代码

HUE-191. Build should honour python version set in buildvars

bc Wong 15 年之前
父节点
当前提交
9ff3e38c4f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Makefile.vars

+ 1 - 1
Makefile.vars

@@ -43,7 +43,7 @@ ifndef SKIP_PYTHONDEV_CHECK
   endif
   SYS_PYTHON := $(shell echo $(PYTHON_H) | grep -o python2..)
 else
-  SYS_PYTHON := $(shell which python)
+  SYS_PYTHON ?= $(shell which python)
 endif
 
 ifeq ($(SYS_PYTHON),)