aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Tan <samueltan@google.com>2015-09-18 12:38:22 -0700
committerSamuel Tan <samueltan@google.com>2015-09-18 12:43:03 -0700
commit9a584bc04e8b4bb4178768c26be621538e72a71e (patch)
tree12c8055d9f202064d47f4e464f43cc14dc6b8721
parent1d195eb92934324a2d111d7cef1a6a156716d42c (diff)
downloadc-ares-9a584bc04e8b4bb4178768c26be621538e72a71e.tar.gz
c-ares: export headers to modules that depend on libcares
Export the headers in the c-ares source directory to modules that depend on libcares. This allows the compiler to resolve includes of headers like ares.h in these other modules that use c-ares. BUG: None Change-Id: I98bbccfe56568513d15af8b1de297b7e4ba2c8ad
-rw-r--r--Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 8f8c361..6677382 100644
--- a/Android.mk
+++ b/Android.mk
@@ -19,5 +19,6 @@ include $(LOCAL_PATH)/Makefile.inc
include $(CLEAR_VARS)
LOCAL_MODULE := libcares
LOCAL_CFLAGS += -DHAVE_CONFIG_H
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
LOCAL_SRC_FILES := $(CSOURCES)
include $(BUILD_SHARED_LIBRARY)