Browse Source

HUE-5127 [core] Revert typo about Python 2.6 in Makefile

Romain Rigaux 9 years ago
parent
commit
91c7efe5e9
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Makefile.vars

+ 1 - 2
Makefile.vars

@@ -36,8 +36,7 @@ ifneq ($(wildcard $(ROOT)/Makefile.buildvars),)
   include $(ROOT)/Makefile.buildvars
 endif
 
-#PYTHON_H ?= $(shell ls /usr/include/python2.7/Python.h 2>/dev/null || ls /usr/include/python2.6/Python.h 2>/dev/null)
-PYTHON_H ?= $(shell ls /usr/include/python2.6/Python.h 2>/dev/null)
+PYTHON_H ?= $(shell ls /usr/include/python2.7/Python.h 2>/dev/null || ls /usr/include/python2.6/Python.h 2>/dev/null)
 ifndef SKIP_PYTHONDEV_CHECK
   ifeq ($(PYTHON_H),)
     $(error "Error: must have python development packages for 2.6 or 2.7. Could not find Python.h. Please install python2.6-devel or python2.7-devel")