From 1f8bf488011f9ca8f07623bde19316f494b695bb Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 27 Jun 2022 18:32:31 +0100 Subject: CI: Link libexpat statically when using Wine to run tests Signed-off-by: Simon McVittie --- tools/ci-build.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools') 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 -- cgit v1.2.1