Skip to content

Commit 1117df7

Browse files
Adjust findstring search for OpenSSL linking
1 parent 417ab11 commit 1117df7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sqlcipher/src/main/jni/sqlcipher/Android.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,14 @@ LOCAL_C_INCLUDES += $(LOCAL_PATH) \
6666
LOCAL_MODULE:= libsqlcipher
6767
LOCAL_LDLIBS += -ldl -llog
6868
LOCAL_LDFLAGS += -Wl,-z,max-page-size=16384
69-
ifeq ($(findstring OSSL,$(LOCAL_CFLAGS)),OSSL)
69+
ifeq ($(findstring SSL,$(LOCAL_CFLAGS)),SSL)
7070
LOCAL_STATIC_LIBRARIES += static-libcrypto
7171
else
7272
LOCAL_STATIC_LIBRARIES += static-libtomcrypt
7373
endif
7474
include $(BUILD_SHARED_LIBRARY)
7575

76-
ifeq ($(findstring OSSL,$(LOCAL_CFLAGS)),OSSL)
76+
ifeq ($(findstring SSL,$(LOCAL_CFLAGS)),SSL)
7777
include $(CLEAR_VARS)
7878
LOCAL_MODULE := static-libcrypto
7979
LOCAL_SRC_FILES := $(LOCAL_PATH)/android-libs/$(TARGET_ARCH_ABI)/libcrypto.a

0 commit comments

Comments
 (0)