aboutsummaryrefslogtreecommitdiff
path: root/tests/common/libhello-1.0.0/hello/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/common/libhello-1.0.0/hello/buildfile')
-rw-r--r--tests/common/libhello-1.0.0/hello/buildfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/common/libhello-1.0.0/hello/buildfile b/tests/common/libhello-1.0.0/hello/buildfile
index bff7fce..9af86cf 100644
--- a/tests/common/libhello-1.0.0/hello/buildfile
+++ b/tests/common/libhello-1.0.0/hello/buildfile
@@ -3,10 +3,10 @@ lib{hello}: {hxx cxx}{hello} 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{hello}: bin.lib.version = @-$version
+if $version.pre_release
+ lib{hello}: bin.lib.version = @"-$version.project_id"
else
- lib{hello}: bin.lib.version = @-$abi_major.$abi_minor
+ lib{hello}: bin.lib.version = @"-$version.major.$version.minor"
cxx.poptions += "-I$src_root"
obja{*}: cxx.poptions += -DLIBHELLO_STATIC_BUILD