summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChih-Wei Huang <cwhuang@android-x86.org>2015-05-20 11:25:25 +0800
committerEric Anholt <eric@anholt.net>2015-06-09 11:38:44 -0700
commitb8213bbe4cec5bab89e07aab8d225e617d4a2087 (patch)
treeb560c0ed684ab596b52f15dc37230b4ff243451f /src
parent30ba4faf5dcb9f55352eed1b37a3e820e8efe2ad (diff)
android: loader: export the path to be included
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src')
-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 5931ce8f2f..d4d809bc3d 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 8e215de3cd..92d9fd20d3 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)