Skip to content

Commit 2ee5635

Browse files
committed
use static openssl library for ripemd160
1 parent 34d71fb commit 2ee5635

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Android.mk

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1503,8 +1503,10 @@ LOCAL_C_INCLUDES:= \
15031503
LOCAL_SRC_FILES:= \
15041504
ext/digest/rmd160/rmd160init.c\
15051505
ext/digest/rmd160/rmd160ossl.c
1506-
LOCAL_SHARED_LIBRARIES:= \
1507-
libcrypto
1506+
1507+
# RMD160 missing on certain devices ( API >= 21 )
1508+
LOCAL_STATIC_LIBRARIES:= libcrypto_static
1509+
15081510
LOCAL_MODULE := RUBY_digest_rmd160
15091511

15101512
include $(BUILD_SHARED_LIBRARY)

0 commit comments

Comments
 (0)