[Mesa-dev] [PATCH] Android: fix xmlconfig build

Rob Herring robh at kernel.org
Mon Jul 31 15:46:59 UTC 2017


Commit 601093f95ddf ("xmlconfig: move into src/util") broke the Android
build due to missing libexpat dependency:

external/mesa3d/src/util/xmlconfig.c:34:10: fatal error: 'expat.h' file not found

Fixes: 601093f95ddf ("xmlconfig: move into src/util")
Cc: Nicolai Hähnle <nicolai.haehnle at amd.com>
Signed-off-by: Rob Herring <robh at kernel.org>
---
 src/util/Android.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/util/Android.mk b/src/util/Android.mk
index 9015b59e4529..ecf3eb757406 100644
--- a/src/util/Android.mk
+++ b/src/util/Android.mk
@@ -41,6 +41,9 @@ LOCAL_C_INCLUDES := \
 	$(MESA_TOP)/src/gallium/include \
 	$(MESA_TOP)/src/gallium/auxiliary
 
+LOCAL_SHARED_LIBRARIES := \
+	libexpat
+
 LOCAL_MODULE := libmesa_util
 
 # Generated sources
-- 
2.11.0



More information about the mesa-dev mailing list