summaryrefslogtreecommitdiff
path: root/libcurl/build/bootstrap.build
blob: f608fd0280fd9b347dedf10f580ee42247c7e017 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# file      : build/root.build
# license   : cURL License; see accompanying COPYING file

project = libcurl

using version
using config
using test
using install
using dist

# The cURL version has the <major>.<minor>.<patch> form and follows the semver
# semantics. Specifically, the major version is increased when really big
# changes are made, the minor version when new features are added, and the
# patch version is increased for bug fixes. See also:
#
# https://curl.haxx.se/docs/versions.html
#
# The ABI version doesn't correlate with the release version and is assigned
# via the libtool's -version-info <current>:<revision>:<age> option
# (VERSIONINFO in lib/Makefile.am). As it follows from the comment in the
# makefile, the major version (current - age) is incremented for backwards-
# incompatible ABI changes. See also:
#
# https://curl.haxx.se/libcurl/abi.html
#
if ($version.major == 7 && $version.minor == 67 && $version.patch == 0)
{

  abi_version_major = 4
  abi_version = "$abi_version_major.6.0" # <current - age>.<age>.<revision>
}
else
  fail 'increment the ABI version?'