Merge pull request #109 from AsamK/workaround_broken_sqlcipher

Add workaround for broken sqlcipher
This commit is contained in:
Cyril Soler 2015-09-22 11:20:28 -04:00
commit 6071be922f

View File

@ -139,7 +139,10 @@ linux-* {
error("libsqlcipher is not installed and libsqlcipher.a not found. SQLCIPHER is necessary for encrypted database, to build with unencrypted database, run: qmake CONFIG+=NO_SQLCIPHER")
}
} else {
PKGCONFIG *= sqlcipher
# Workaround for broken sqlcipher packages, e.g. Ubuntu 14.04
# https://bugs.launchpad.net/ubuntu/+source/sqlcipher/+bug/1493928
# PKGCONFIG *= sqlcipher
LIBS *= -lsqlcipher
}
}