[Mesa-dev] [PATCH 2/2] android: fix a building error of libmesa_program

Chih-Wei Huang cwhuang at android-x86.org
Wed Apr 1 23:16:33 PDT 2015


Add libmesa_glsl to LOCAL_STATIC_LIBRARIES to get
its exported include path (for nir_opcodes.h).

Signed-off-by: Chih-Wei Huang <cwhuang at linux.org.tw>
---
 src/mesa/program/Android.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/program/Android.mk b/src/mesa/program/Android.mk
index 374fcbf..af16e77 100644
--- a/src/mesa/program/Android.mk
+++ b/src/mesa/program/Android.mk
@@ -44,6 +44,7 @@ include $(CLEAR_VARS)
 
 LOCAL_MODULE := libmesa_program
 LOCAL_MODULE_CLASS := STATIC_LIBRARIES
+LOCAL_STATIC_LIBRARIES := libmesa_glsl
 
 intermediates := $(call local-intermediates-dir)
 
-- 
1.9.1



More information about the mesa-dev mailing list