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)