aboutsummaryrefslogtreecommitdiff
path: root/brep
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-08-31 22:53:55 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-08-31 22:53:55 +0300
commitd123226f8324813cb1698888879f6f1060652717 (patch)
tree442aceb67d339c2b362520789cad1cbaba29f837 /brep
parent92ce406a3a81e49a287d19824a501f33b0aceed6 (diff)
Build infrastructure update
Diffstat (limited to 'brep')
-rw-r--r--brep/buildfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/brep/buildfile b/brep/buildfile
index d34a6e5..7c70ceb 100644
--- a/brep/buildfile
+++ b/brep/buildfile
@@ -25,6 +25,14 @@ lib{brep}: \
$int_libs \
sql{package package-extra}
+# 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{brep}: bin.lib.version = @-$version
+else
+ lib{brep}: bin.lib.version = @-$abi_major.$abi_minor
+
lib{brep}: cxx.export.poptions = -I$out_root -I$src_root
lib{brep}: cxx.export.libs = $int_libs