summaryrefslogtreecommitdiffstats
path: root/fastboot/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'fastboot/Android.mk')
-rw-r--r--fastboot/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/fastboot/Android.mk b/fastboot/Android.mk
index 5025dae..92e9219 100644
--- a/fastboot/Android.mk
+++ b/fastboot/Android.mk
@@ -57,7 +57,9 @@ LOCAL_STATIC_LIBRARIES := \
libz
ifneq ($(HOST_OS),windows)
+ifeq ($(HAVE_SELINUX), true)
LOCAL_STATIC_LIBRARIES += libselinux
+endif # HAVE_SELINUX
endif # HOST_OS != windows
include $(BUILD_HOST_EXECUTABLE)