summaryrefslogtreecommitdiff
path: root/libexpat/build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-02-23 10:53:11 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-02-23 15:54:50 +0300
commitdc4f5abaeb007771684f3bd7e13c1cea9bf356e6 (patch)
tree3445c3f73927eed6259cff4847044184bcb72ece /libexpat/build
parentc24e3f9bed717f5c80bef1cc5b9f41236b41acc7 (diff)
Upgrade to 2.4.6
Diffstat (limited to 'libexpat/build')
-rw-r--r--libexpat/build/bootstrap.build4
-rw-r--r--libexpat/build/root.build10
2 files changed, 12 insertions, 2 deletions
diff --git a/libexpat/build/bootstrap.build b/libexpat/build/bootstrap.build
index eb0c50f..a145a49 100644
--- a/libexpat/build/bootstrap.build
+++ b/libexpat/build/bootstrap.build
@@ -18,10 +18,10 @@ using install
# from the comment in expat/configure.ac, the major version (current - age) is
# incremented for backwards-incompatible ABI changes.
#
-if ($version.major == 2 && $version.minor == 2 && $version.patch == 9)
+if ($version.major == 2 && $version.minor == 4 && $version.patch == 6)
{
abi_version_major = 1
- abi_version = "$abi_version_major.6.11" # <current - age>.<age>.<revision>
+ abi_version = "$abi_version_major.8.6" # <current - age>.<age>.<revision>
}
else
fail 'increment the ABI version?'
diff --git a/libexpat/build/root.build b/libexpat/build/root.build
index 070d5ec..f34f548 100644
--- a/libexpat/build/root.build
+++ b/libexpat/build/root.build
@@ -11,3 +11,13 @@ if ($c.target.system == 'win32-msvc')
if ($c.class == 'msvc')
c.coptions += /wd4251 /wd4275 /wd4800
+
+# All exe{} in unit-tests/ are, well, tests. Also don't link whole archives
+# by default there.
+#
+unit-tests/exe{*}: test = true
+unit-tests/{libue libul}{*}: bin.whole = false
+
+# Specify the test target for cross-testing (running tests under Wine, etc).
+#
+test.target = $c.target