diff options
| author | 2018-07-27 23:54:15 -0400 | |
|---|---|---|
| committer | 2018-07-27 23:54:15 -0400 | |
| commit | 6d3d39356473078c6b47e03b8a7616e4b34de928 (patch) | |
| tree | fe5be2e6a08e4cfc73207746aba4c9fccfecfa10 /Plugins/DbSqliteCipher/DbSqliteCipher.pro | |
| parent | f98e49169a40876bcf1df832de6e908d1b350193 (diff) | |
| parent | feda8a7db8d1d7c5439aa8f8feef7cc0dd2b59a0 (diff) | |
Update upstream source from tag 'upstream/3.2.1+dfsg1'
Update to upstream version '3.2.1+dfsg1'
with Debian dir 5ea0333565de4dc898c062cc0ff4ba1153e2c1e4
Diffstat (limited to 'Plugins/DbSqliteCipher/DbSqliteCipher.pro')
| -rw-r--r-- | Plugins/DbSqliteCipher/DbSqliteCipher.pro | 38 |
1 files changed, 22 insertions, 16 deletions
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 |
