android: export more dirs from libmesa_dri_common
authorChih-Wei Huang <cwhuang@android-x86.org>
Wed, 20 May 2015 03:25:26 +0000 (11:25 +0800)
committerEric Anholt <eric@anholt.net>
Tue, 9 Jun 2015 18:38:44 +0000 (11:38 -0700)
The include paths of libmesa_dri_common are also used by modules
that need libmesa_dri_common.

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/common/Android.mk

index a7fcd6d572a78c3d602d29e4020659dcd82df59a..c003c942fcabf7225d59d16ffb6b64fba48fe74c 100644 (file)
@@ -39,7 +39,9 @@ intermediates := $(call local-generated-sources-dir)
 LOCAL_C_INCLUDES := \
     $(MESA_DRI_C_INCLUDES)
 
-LOCAL_EXPORT_C_INCLUDE_DIRS := $(intermediates)
+LOCAL_EXPORT_C_INCLUDE_DIRS := \
+    $(LOCAL_PATH) \
+    $(intermediates)
 
 # swrast only
 ifeq ($(MESA_GPU_DRIVERS),swrast)