CI: Link libexpat statically when using Wine to run tests

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie 2022-06-27 18:32:31 +01:00
parent 82ec4cf28f
commit 1f8bf48801

View file

@ -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