aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/3rdparty/sqlite/sqlite_static_config.h
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@qt.io>2023-01-04 21:48:34 +0100
committerCristian Adam <cristian.adam@qt.io>2023-01-05 13:07:27 +0000
commitbe1c5cab96b060a0f22fb79a66a971b5c5b447eb (patch)
tree2fc5aba245ec3610a7ac12bb30074162d1d6de04 /src/libs/3rdparty/sqlite/sqlite_static_config.h
parent4b237c0e9822feedf69e6aeb1468742a3cd05a72 (diff)
Fix static build of Qt Creator
When is QTC_STATIC_BUILD set to ON add_qtc_library will add a <target_name>_STATIC_LIBRARY define, otherwise <target_name>_LIBRARY is added. Since Sqlite uses two libraries now both SQLITE_STATIC_LIBRARY and SQLITEC_STATIC_LIBRARY need to be checked. Change-Id: I07c4de01627754534da7e37d1261db37779df296 Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/libs/3rdparty/sqlite/sqlite_static_config.h')
-rw-r--r--src/libs/3rdparty/sqlite/sqlite_static_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/3rdparty/sqlite/sqlite_static_config.h b/src/libs/3rdparty/sqlite/sqlite_static_config.h
index f34dc7bcb6..011fd25657 100644
--- a/src/libs/3rdparty/sqlite/sqlite_static_config.h
+++ b/src/libs/3rdparty/sqlite/sqlite_static_config.h
@@ -195,7 +195,7 @@
#define sqlite3_stmt_status qtc_sqlite3_stmt_status
#define sqlite3_str_append qtc_sqlite3_str_append
#define sqlite3_str_appendall qtc_sqlite3_str_appendall
-#define sqlite3_str_appendchar qtc_sqlite3_str_appendchastruct r
+#define sqlite3_str_appendchar qtc_sqlite3_str_appendchar
#define sqlite3_str_appendf qtc_sqlite3_str_appendf
#define sqlite3_str_errcode qtc_sqlite3_str_errcode
#define sqlite3_str_finish qtc_sqlite3_str_finish