Skip to content

Commit fca8b84

Browse files
author
Hideki Itakura
authored
Merge pull request #52 from couchbase/fix/core_issue_1455
Fixed core issue 1455 - sqlcipher.dll is missing for windows.
2 parents cb76502 + 0b7209f commit fca8b84

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

sqlcipher/build-java.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,8 @@ binaries.withType(SharedLibraryBinary) { binary ->
322322
// Jar libsqlcipher library:
323323
// workaround to avoid dupicated libsqlcipher.so
324324
// see: https://github.com/couchbase/couchbase-lite-java-core/issues/1185
325-
if (binaryName.startsWith("libcbljavasqlcipher")) {
325+
// Windows: no libxxxx
326+
if (binaryName.indexOf("cbljavasqlcipher") != -1) {
326327
jar.into("native/${os}/${arch}") {
327328
def libPath;
328329
def libName = os == 'windows' ? "sqlcipher.dll" : (os == 'osx' ? "libsqlcipher.dylib" : "libsqlcipher.so")

0 commit comments

Comments
 (0)