Android build never really installs the headers, as such we need to explicitly add their location in the source tree otherwise it will fail to find them.
v2: Android now installs the headers, so let's use that ;) Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> --- src/gallium/targets/egl-static/Android.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gallium/targets/egl-static/Android.mk b/src/gallium/targets/egl-static/Android.mk index d25c432..adaf582 100644 --- a/src/gallium/targets/egl-static/Android.mk +++ b/src/gallium/targets/egl-static/Android.mk @@ -47,9 +47,7 @@ LOCAL_CFLAGS += -DGALLIUM_SOFTPIPE # !swrast only ifneq ($(MESA_GPU_DRIVERS),swrast) -LOCAL_C_INCLUDES += \ - $(DRM_TOP)/include/drm \ - $(DRM_TOP) +LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/libdrm endif ifneq ($(filter freedreno, $(MESA_GPU_DRIVERS)),) -- 2.0.2 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev