summaryrefslogtreecommitdiffstats
path: root/src/loader/Android.mk
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-03-27 11:40:42 +0000
committerEmil Velikov <[email protected]>2015-04-22 14:23:28 +0100
commit86919352e3da1c80409fdcb67c36f29a9687b7a9 (patch)
treed0b0a91b7bf114572dc9b7a48b378c69d3f10b4d /src/loader/Android.mk
parent413bc0a618d39873336cbfaf8fb5e43217f66ccf (diff)
android: use LOCAL_SHARED_LIBRARIES over TARGET_OUT_HEADERS
... to manage the LIBDRM*_CFLAGS. The former is the recommended approach by the Android build system developers while the latter has been depreciated for quite some time. Cc: "10.4 10.5" <[email protected]> Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/loader/Android.mk')
-rw-r--r--src/loader/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loader/Android.mk b/src/loader/Android.mk
index 8daeedf5dad..8e215de3cda 100644
--- a/src/loader/Android.mk
+++ b/src/loader/Android.mk
@@ -37,7 +37,7 @@ LOCAL_SRC_FILES := \
ifeq ($(MESA_GPU_DRIVERS),swrast)
LOCAL_CFLAGS += -D__NOT_HAVE_DRM_H
else
-LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/libdrm
+LOCAL_SHARED_LIBRARIES := libdrm
endif
LOCAL_MODULE := libmesa_loader