summaryrefslogtreecommitdiff
path: root/sqlite3
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-09-01 02:35:39 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-09-01 02:35:39 +0300
commit5c396d4dd3a6e2528147b55fc35b86cbcbc93524 (patch)
tree286df8113e4e540c7ef91b9bf61b72eee7d75eac /sqlite3
parent16baffec18b12038f37739a41b860fdf76213be6 (diff)
Build infrastructure update
Diffstat (limited to 'sqlite3')
-rw-r--r--sqlite3/buildfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/sqlite3/buildfile b/sqlite3/buildfile
index 948c32d..98c0ee6 100644
--- a/sqlite3/buildfile
+++ b/sqlite3/buildfile
@@ -3,6 +3,14 @@
lib{sqlite3}: {h c}{sqlite3} h{sqlite3ext}
+# For pre-releases use the complete version to make sure they cannot be used
+# in place of another pre-release or the final version.
+#
+if $abi_prerelease
+ lib{sqlite3}: bin.lib.version = @-$version
+else
+ lib{sqlite3}: bin.lib.version = @-$abi_major.$abi_minor
+
# The set of features we enable by default is inspired by Debian, Fedora, and
# the official documentation.
#
@@ -28,6 +36,8 @@ cc.poptions =+ \
-DSQLITE_ENABLE_COLUMN_METADATA=1 \
-DSQLITE_ENABLE_FTS3_PARENTHESIS=1
+c.poptions += -I$src_base
+
if ($c.target.class != "windows")
{
cc.poptions =+ -DHAVE_USLEEP=1