summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-06-27 18:32:31 +0100
committerSimon McVittie <smcv@collabora.com>2022-07-13 20:36:13 +0100
commit1f8bf488011f9ca8f07623bde19316f494b695bb (patch)
tree488e1ec85e09cb4a10ba25512d64a2eb65f39567 /tools
parent82ec4cf28fbae3e400784710846c7b71190ecbb0 (diff)
downloaddbus-1f8bf488011f9ca8f07623bde19316f494b695bb.tar.gz
CI: Link libexpat statically when using Wine to run tests
Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ci-build.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/ci-build.sh b/tools/ci-build.sh
index 937c857a..6e907deb 100755
--- a/tools/ci-build.sh
+++ b/tools/ci-build.sh
@@ -483,6 +483,9 @@ case "$ci_buildsys" in
set -- -Dselinux=disabled "$@"
set -- -Dsystemd=disabled "$@"
set -- -Dx11_autolaunch=disabled "$@"
+ # We seem to have trouble finding libexpat.dll when
+ # cross-building for Windows and running tests with Wine.
+ set -- -Dexpat:default_library=static "$@"
;;
esac