diff --git a/libports/lib/mk/gallium-aux.mk b/libports/lib/mk/gallium-aux.mk index bc5ec5c41e..53256a9d56 100644 --- a/libports/lib/mk/gallium-aux.mk +++ b/libports/lib/mk/gallium-aux.mk @@ -37,7 +37,7 @@ CC_OPT_vl_mpeg12_mc_renderer += -Wno-enum-compare u_%_gen.c: $(GALLIUM_SRC_DIR)/indices/u_%_gen.py $(MSG_CONVERT)$@ - @python $< > $@ + @python2 $< > $@ # # To generate 'u_format_pack.h' as well, so we explicitly state that @@ -47,6 +47,6 @@ u_format_access.c: u_format_pack.h u_format_%.c u_format_%.h: $(GALLIUM_AUX_SRC_DIR)/util/u_format_%.py $(MSG_CONVERT)$@ - @python $< $(GALLIUM_AUX_SRC_DIR)/util/u_format.csv > $@ + @python2 $< $(GALLIUM_AUX_SRC_DIR)/util/u_format.csv > $@ vpath %.c $(addprefix $(GALLIUM_AUX_SRC_DIR)/,$(SUBDIRS))