Explicitly specify use of python2 for gallium-aux

Without this fix, the library will fail to build on systems where
python3 is used by default.
This commit is contained in:
Alexandre Bique 2012-02-12 17:54:59 +01:00 committed by Norman Feske
parent a6f0067e7f
commit f3a5b78d28
1 changed files with 2 additions and 2 deletions

View File

@ -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))