From f3a5b78d28643287fc60eb5e64f02c4d7b08a56f Mon Sep 17 00:00:00 2001 From: Alexandre Bique Date: Sun, 12 Feb 2012 17:54:59 +0100 Subject: [PATCH] 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. --- libports/lib/mk/gallium-aux.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libports/lib/mk/gallium-aux.mk b/libports/lib/mk/gallium-aux.mk index bc5ec5c41..53256a9d5 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))