summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Wei Huang <[email protected]>2015-05-20 11:25:25 +0800
committerEric Anholt <[email protected]>2015-06-09 11:38:44 -0700
commitb8213bbe4cec5bab89e07aab8d225e617d4a2087 (patch)
treeb560c0ed684ab596b52f15dc37230b4ff243451f
parent30ba4faf5dcb9f55352eed1b37a3e820e8efe2ad (diff)
android: loader: export the path to be included
Signed-off-by: Chih-Wei Huang <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
-rw-r--r--src/egl/drivers/dri2/Android.mk1
-rw-r--r--src/loader/Android.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/Android.mk b/src/egl/drivers/dri2/Android.mk
index 5931ce8f2f0..d4d809bc3de 100644
--- a/src/egl/drivers/dri2/Android.mk
+++ b/src/egl/drivers/dri2/Android.mk
@@ -45,7 +45,6 @@ endif
LOCAL_C_INCLUDES := \
$(MESA_TOP)/src/mapi \
$(MESA_TOP)/src/egl/main \
- $(MESA_TOP)/src/loader \
$(DRM_GRALLOC_TOP)
LOCAL_STATIC_LIBRARIES := \
diff --git a/src/loader/Android.mk b/src/loader/Android.mk
index 8e215de3cda..92d9fd20d3c 100644
--- a/src/loader/Android.mk
+++ b/src/loader/Android.mk
@@ -40,6 +40,8 @@ else
LOCAL_SHARED_LIBRARIES := libdrm
endif
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
+
LOCAL_MODULE := libmesa_loader
include $(MESA_COMMON_MK)