aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2019-01-12 09:13:58 +0900
committerJiyong Park <jiyong@google.com>2019-01-12 09:13:58 +0900
commitbdff1786aa80418924f4574a1187a75f8b379445 (patch)
tree69dd0bbca0b156da0b92cea93f163143d51e09bd
parentf11ba899d5c04b2e0445e0b47cbf26d89ced4f7d (diff)
downloadplatform_external_openssh-bdff1786aa80418924f4574a1187a75f8b379445.tar.gz
platform_external_openssh-bdff1786aa80418924f4574a1187a75f8b379445.tar.bz2
platform_external_openssh-bdff1786aa80418924f4574a1187a75f8b379445.zip
Fix build breakage
sshd is using the symbol arc4random_stir which is not exposed from the libc in the runtime APEX. Override this by directly linking to the bootstrap bionic which exposes the symbol Test: m sshd Change-Id: I37ae12f1d979725e6396ccab20c6ea57d84724a6
-rw-r--r--Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 355f64c5..8600be19 100644
--- a/Android.mk
+++ b/Android.mk
@@ -294,6 +294,7 @@ LOCAL_C_INCLUDES := \
external/openssh/openbsd-compat
LOCAL_SHARED_LIBRARIES += libssh libssl libcrypto libdl libz libcutils
+LOCAL_SHARED_LIBRARIES += libc.bootstrap
include $(BUILD_EXECUTABLE)