diff options
| author | Jiyong Park <jiyong@google.com> | 2019-01-12 09:13:58 +0900 |
|---|---|---|
| committer | Jiyong Park <jiyong@google.com> | 2019-01-12 12:23:00 +0900 |
| commit | 3173e4c2b9cd6e005002a8a8baea27298f959345 (patch) | |
| tree | 24e87784ac9a003039544dbebf1d89b7bad0f977 | |
| parent | bdff1786aa80418924f4574a1187a75f8b379445 (diff) | |
| download | platform_external_openssh-3173e4c2b9cd6e005002a8a8baea27298f959345.tar.gz platform_external_openssh-3173e4c2b9cd6e005002a8a8baea27298f959345.tar.bz2 platform_external_openssh-3173e4c2b9cd6e005002a8a8baea27298f959345.zip | |
Add libc.bootstrap only for Q and beyond
Test: m on pi-dev
Test: m on master
Test: m on cw-f-dev
Change-Id: Ia0b02320b0bb06cac8e1fded09d609a1418928a3
| -rw-r--r-- | Android.mk | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -294,7 +294,15 @@ LOCAL_C_INCLUDES := \ external/openssh/openbsd-compat LOCAL_SHARED_LIBRARIES += libssh libssl libcrypto libdl libz libcutils + +# libc.bootstrap is available/required since Q +ifneq ($(PLATFORM_VERSION_CODENAME)|$(call math_lt,$(PLATFORM_SDK_VERSION),29),REL|true) +# This filter is for old branches that does not have math_lt macro +# This is equivalently PLATFORM_SDK_VERSION > 27 +ifeq ($(filter 14 15 16 17 18 19 20 21 22 23 24 25 26 27,$(PLATFORM_SDK_VERSION)),) LOCAL_SHARED_LIBRARIES += libc.bootstrap +endif +endif include $(BUILD_EXECUTABLE) |
