Android: fix xmlconfig build
authorRob Herring <robh@kernel.org>
Mon, 31 Jul 2017 15:42:10 +0000 (10:42 -0500)
committerRob Herring <robh@kernel.org>
Mon, 31 Jul 2017 20:48:33 +0000 (15:48 -0500)
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")
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Rob Herring <robh@kernel.org>
src/util/Android.mk

index 9015b59e45290873f685a506d471da52b0140dc7..ecf3eb757406e9c327fcc136957d4b45e9794413 100644 (file)
@@ -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