aboutsummaryrefslogtreecommitdiff
path: root/tests/common/libhello-1.0.0/hello/buildfile
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-04-28 18:22:11 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-04-28 18:22:11 +0300
commitcb93b6b3f03536ca833bde8d8d7a0018cf94927a (patch)
tree580233cfcd00e4018b906f04edffc9cfc93ddb8a /tests/common/libhello-1.0.0/hello/buildfile
parent67ab77401f4b1c4580b7ce54a783843e31a55ebb (diff)
Make tests to pass
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