]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
CI: Link libexpat statically when using Wine to run tests
authorSimon McVittie <smcv@collabora.com>
Mon, 27 Jun 2022 17:32:31 +0000 (18:32 +0100)
committerSimon McVittie <smcv@collabora.com>
Wed, 13 Jul 2022 19:36:13 +0000 (20:36 +0100)
Signed-off-by: Simon McVittie <smcv@collabora.com>
tools/ci-build.sh

index 937c857a1cdf7f1e7665fb76e63e67b4f6054512..6e907deb1177e8039679ceb8214549130591e383 100755 (executable)
@@ -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