From 5c396d4dd3a6e2528147b55fc35b86cbcbc93524 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 1 Sep 2016 02:35:39 +0300 Subject: Build infrastructure update --- sqlite3/buildfile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'sqlite3') 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 -- cgit v1.1