Specify python for building QEMU on macOS (#1107)

This commit is contained in:
Kevin Phoenix 2019-07-29 19:49:33 -07:00 committed by Nguyen Anh Quynh
parent 24f55a7973
commit 3053e64708

View File

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