aboutsummaryrefslogtreecommitdiff
path: root/libregex/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'libregex/Android.mk')
-rw-r--r--libregex/Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/libregex/Android.mk b/libregex/Android.mk
index fc70ab3..ba1c4df 100644
--- a/libregex/Android.mk
+++ b/libregex/Android.mk
@@ -16,6 +16,7 @@ LOCAL_PATH:= $(call my-dir)
include $(LOCAL_PATH)/../common.mk
# Build libregex on host
+ifeq ($(HAVE_LIBBFD),true)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
@@ -30,4 +31,4 @@ LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := libop_regex
include $(BUILD_HOST_STATIC_LIBRARY)
-
+endif