From feda8a7db8d1d7c5439aa8f8feef7cc0dd2b59a0 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Fri, 27 Jul 2018 23:51:12 -0400 Subject: New upstream version 3.2.1+dfsg1 --- Plugins/DbSqliteCipher/DbSqliteCipher.pro | 38 ++++++++++++++++++------------- 1 file changed, 22 insertions(+), 16 deletions(-) (limited to 'Plugins/DbSqliteCipher/DbSqliteCipher.pro') diff --git a/Plugins/DbSqliteCipher/DbSqliteCipher.pro b/Plugins/DbSqliteCipher/DbSqliteCipher.pro index 84ce065..cbb8ec3 100644 --- a/Plugins/DbSqliteCipher/DbSqliteCipher.pro +++ b/Plugins/DbSqliteCipher/DbSqliteCipher.pro @@ -14,12 +14,15 @@ TEMPLATE = lib DEFINES += DBSQLITECIPHER_LIBRARY SOURCES += dbsqlitecipher.cpp \ - dbsqlitecipherinstance.cpp \ - sqlcipher.c + dbsqlitecipherinstance.cpp + +!unix|isEmpty(SQLCIPHER_LIB): { + SOURCES += sqlcipher.c +} HEADERS += dbsqlitecipher.h \ dbsqlitecipher_global.h \ - dbsqlitecipherinstance.h \ + dbsqlitecipherinstance.h sqlcipher.h !macx: { @@ -31,12 +34,16 @@ win32: { LIBS += -leay32 -lcoreSQLiteStudio } -!win32: { +!win32:isEmpty(SQLCIPHER_LIB) { LIBS += -lcrypto } unix: { DEFINES += SQLITE_OS_UNIX=1 + !isEmpty(SQLCIPHER_LIB): { + LIBS += $$SQLCIPHER_LIB + DEFINES += SQLCIPHER_SYSTEM_LIB + } } win32: { DEFINES += SQLITE_OS_WIN=1 @@ -56,16 +63,15 @@ QMAKE_CFLAGS_WARN_ON = -Wall -Wno-unused-parameter -Wno-sign-compare -Wno-unused DISTFILES += \ openssl_lic.txt -TRANSLATIONS += DbSqliteCipher_de.ts \ - \ - DbSqliteCipher_it.ts\ - DbSqliteCipher_zh_CN.ts\ - DbSqliteCipher_sk.ts\ - DbSqliteCipher_ru.ts\ - DbSqliteCipher_pt_BR.ts\ - DbSqliteCipher_fr.ts\ - DbSqliteCipher_es.ts\ - DbSqliteCipher_pl.ts - - +TRANSLATIONS += DbSqliteCipher_ro_RO.ts \ + DbSqliteCipher_de.ts \ + \ + DbSqliteCipher_it.ts\ + DbSqliteCipher_zh_CN.ts\ + DbSqliteCipher_sk.ts\ + DbSqliteCipher_ru.ts\ + DbSqliteCipher_pt_BR.ts\ + DbSqliteCipher_fr.ts\ + DbSqliteCipher_es.ts\ + DbSqliteCipher_pl.ts -- cgit v1.2.3