From 3053e64708a92d654a2f796e7f6f72f828a9dcad Mon Sep 17 00:00:00 2001 From: Kevin Phoenix Date: Mon, 29 Jul 2019 19:49:33 -0700 Subject: [PATCH] Specify python for building QEMU on macOS (#1107) --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 7d737827..715f7092 100644 --- a/Makefile +++ b/Makefile @@ -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)