[Mesa-dev] [PATCH] android: fix shader_enums.c building error

Mauro Rossi issor.oruam at gmail.com
Wed Sep 23 13:33:13 PDT 2015


Android.mk in src/mesa/program folder needs an adjustement,
because shader_enums.c can only be found in the relative path ../../glsl/shader_enums.c
---
 src/mesa/program/Android.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/program/Android.mk b/src/mesa/program/Android.mk
index ccb0fa5..bcb0ed1 100644
--- a/src/mesa/program/Android.mk
+++ b/src/mesa/program/Android.mk
@@ -56,7 +56,7 @@ generated_sources_basenames := \
 	program_parse.tab.h
 
 LOCAL_SRC_FILES := \
-	$(filter-out $(generated_sources_basenames),$(subst program/,,$(PROGRAM_FILES))) \
+	$(filter-out $(generated_sources_basenames),$(subst ../glsl/,../../glsl/,$(subst program/,,$(PROGRAM_FILES)))) \
 	$(subst program/,,$(PROGRAM_NIR_FILES))
 
 LOCAL_GENERATED_SOURCES := \
-- 
2.1.4



More information about the mesa-dev mailing list