summaryrefslogtreecommitdiff
path: root/sqlite3/buildfile
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-01-24 12:15:37 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-01-24 12:22:31 +0300
commite6366a24b61da07ec2891b4f43f300e1813e2a77 (patch)
treed0b516af505946a65231f8b583f5adfc56505183 /sqlite3/buildfile
parente02c8c355ee1dacb0c6ef2c5c5f885c7a4b44c33 (diff)
Workaround unexpected 'unterminated string literal' error
Diffstat (limited to 'sqlite3/buildfile')
-rw-r--r--sqlite3/buildfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/sqlite3/buildfile b/sqlite3/buildfile
index a8e7466..aade3e0 100644
--- a/sqlite3/buildfile
+++ b/sqlite3/buildfile
@@ -8,6 +8,15 @@ import libs += libz%lib{z}
exe{sqlite3}: {h c}{*} $libs testscript
+# @@ TMP Workaround unexpected build2 error:
+#
+# shell.exe.o.i:165900:40: error: unterminated string literal
+#
+# Note: on upgrade check if it is still required.
+#
+if ($c.target.class == 'windows' && $c.target.system == 'mingw32')
+ obj{shell}: cc.reprocess = true
+
gcc = ($c.class == 'gcc')
# Build options.