From 6e375ff1aa0a14fa71b8d983409e27fac610bd50 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 11 Oct 2019 09:21:17 -0700 Subject: [PATCH] gitlab-ci: Add a pkg-config for mingw The one debian provides is broken in buster+, so I've just written my own. This allows meson to find the installed zlib and prevents it from falling back to wraps. Reviewed-by: Eric Engestrom --- .gitlab-ci.yml | 2 +- .gitlab-ci/debian-install.sh | 10 ++++++++++ .gitlab-ci/x86_64-w64-mingw32 | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 258430d4449..f67f9bb112a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,7 +14,7 @@ # repository's registry will be used there as well. variables: UPSTREAM_REPO: mesa/mesa - DEBIAN_TAG: "2019-10-07_1" + DEBIAN_TAG: "2019-10-16" DEBIAN_ARM64_TAG: "arm64v8-2019-08-09" STRETCH_TAG: "2019-09-18" DEBIAN_VERSION: buster-slim diff --git a/.gitlab-ci/debian-install.sh b/.gitlab-ci/debian-install.sh index c874a892e7b..8a74b2877da 100644 --- a/.gitlab-ci/debian-install.sh +++ b/.gitlab-ci/debian-install.sh @@ -89,6 +89,16 @@ apt-get install -y --no-remove \ wine32 \ wine64 +# Debian's pkg-config wrapers for mingw are broken, and there's no sign that +# they're going to be fixed, so we'll just have to fix it ourselves +# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930492 +cat >/usr/local/bin/x86_64-w64-mingw32-pkg-config <