Skip to content

Commit c7d8abd

Browse files
committed
Use PYTHON3_HOME in pegparser Makefile
1 parent d9b2a3a commit c7d8abd

File tree

1 file changed

+4
-0
lines changed
  • graalpython/com.oracle.graal.python.pegparser.generator

1 file changed

+4
-0
lines changed

graalpython/com.oracle.graal.python.pegparser.generator/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
QUIETLY$(MX_VERBOSE) = @
22

33
PARSER_PATH ?= ../com.oracle.graal.python.pegparser/src/com/oracle/graal/python/pegparser
4+
ifdef PYTHON3_HOME
5+
PYTHON ?= ${PYTHON3_HOME}/python
6+
else
47
PYTHON ?= python3
8+
endif
59

610
TARGET=${PARSER_PATH}/Parser.java
711

0 commit comments

Comments
 (0)