aboutsummaryrefslogtreecommitdiff
path: root/brep/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'brep/buildfile')
-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