commit | 4159aedfaa35e9a41ba9478b7bb00f661c6646d3 | [log] [tgz] |
---|---|---|
author | Dees Troy <dees_troy@teamw.in> | Fri Feb 28 17:24:43 2014 +0000 |
committer | Dees Troy <dees_troy@teamw.in> | Fri Feb 28 17:59:04 2014 +0000 |
tree | cdc9caa6ba475f7bf520c19161b6d872c3b38631 | |
parent | 5e73cc7703ef8ed8f08cc6e8704349e1ec374334 [diff] [blame] |
Restore capabilities to run-as binary Change-Id: I9e2b8e9b69c94b94c57143c04b950530490ec33e
diff --git a/Android.mk b/Android.mk index c6c7f3c..013e4e1 100644 --- a/Android.mk +++ b/Android.mk
@@ -272,6 +272,9 @@ else ifeq ($(TARGET_RECOVERY_QCOM_RTC_FIX),true) LOCAL_CFLAGS += -DQCOM_RTC_FIX endif +ifneq ($(wildcard bionic/libc/include/sys/capability.h),) + LOCAL_CFLAGS += -DHAVE_CAPABILITIES +endif include $(BUILD_EXECUTABLE)