]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
CI: Explicitly disable features that can't work on Windows
authorSimon McVittie <smcv@collabora.com>
Fri, 24 Jun 2022 16:29:55 +0000 (17:29 +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 440fe709a3605dd35ae4ed422ae083cd23685bbd..313f3535d2b73eef0c23b0c820e3b7b0d069815d 100755 (executable)
@@ -455,6 +455,19 @@ case "$ci_buildsys" in
         case "$ci_host" in
             (*-w64-mingw32)
                 cross_file="${srcdir}/maint/${ci_host}.txt"
+                # openSUSE's wrappers are designed for building predictable
+                # RPM packages, so they set --auto-features=enabled -
+                # but that includes some things that make no sense on
+                # Windows.
+                set -- -Dapparmor=disabled "$@"
+                set -- -Depoll=disabled "$@"
+                set -- -Dinotify=disabled "$@"
+                set -- -Dkqueue=disabled "$@"
+                set -- -Dlaunchd=disabled "$@"
+                set -- -Dlibaudit=disabled "$@"
+                set -- -Dselinux=disabled "$@"
+                set -- -Dsystemd=disabled "$@"
+                set -- -Dx11_autolaunch=disabled "$@"
                 ;;
         esac