Skip to content

Commit 59c89c3

Browse files
committed
Use another way to reuse python-runtime target.
Otherwise, if run by `make -f python.make python3-runtime`, the spawned child process will have no `-f python.make` argument, thus cannot find the `python-runtime` target.
1 parent 4b6dab4 commit 59c89c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python.make

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ python-shell: python-runtime
7979
. $(PYTHON_RUNTIME_DIR)/bin/activate; python;
8080

8181
.PHONY: python3-runtime
82-
python3-runtime:
83-
$(MAKE) VIRTUALENV_OPTS=--python=python3 python-runtime
82+
python3-runtime: export VIRTUALENV_OPTS += --python=python3
83+
python3-runtime: python-runtime
8484

8585
.PHONY: python-runtime
8686
python-runtime: $(PYTHON_RUNTIME_DIR)/bin/python

0 commit comments

Comments
 (0)