summaryrefslogtreecommitdiff
path: root/print/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'print/buildfile')
-rw-r--r--print/buildfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/print/buildfile b/print/buildfile
index 1fd6140..a2f6500 100644
--- a/print/buildfile
+++ b/print/buildfile
@@ -3,10 +3,10 @@ lib{print}: {hxx cxx}{print} hxx{export}
# 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{print}: bin.lib.version = @-$version
+if $version.pre_release
+ lib{print}: bin.lib.version = @"-$version.project_id"
else
- lib{print}: bin.lib.version = @-$abi_major.$abi_minor
+ lib{print}: bin.lib.version = @"-$version.major.$version.minor"
cxx.poptions =+ "-I$src_root"
obja{*}: cxx.poptions += -DLIBPRINT_STATIC_BUILD