fix finding python path which only has python3. (#1220)

This commit is contained in:
Nguyen Anh Quynh
2020-03-06 01:48:53 +08:00
committed by GitHub
parent 4ca2c7f0b0
commit 8ff326a2a3
2 changed files with 13 additions and 6 deletions

View File

@@ -172,7 +172,7 @@ LIBRARY_SYMLINK = lib$(LIBNAME).$(EXT)
endif
endif
UNICORN_QEMU_FLAGS += --python=$(shell which /usr/bin/python || which python || which python2)
UNICORN_QEMU_FLAGS += --python=$(shell which /usr/bin/python || which python || which python2 || which python3)
ifeq ($(UNICORN_STATIC),yes)
ifneq ($(filter MINGW%,$(UNAME_S)),)