MINGW-packages/mingw-w64-python/0123-CI-disable-pkg-config.patch
2025-06-07 14:11:54 +02:00

35 lines
1017 B
Diff

From 5248fdecf1a5b7440848ab6705f211ac996d1c49 Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Fri, 6 Jun 2025 21:32:42 +0200
Subject: [PATCH 123/N] CI: disable pkg-config
to avoid it finding build machine packages
---
.github/workflows/mingw.yml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml
index 97ecd18..360218a 100644
--- a/.github/workflows/mingw.yml
+++ b/.github/workflows/mingw.yml
@@ -197,6 +197,9 @@ jobs:
mkdir _build && cd _build
+ export PKG_CONFIG_LIBDIR=/dev/null
+ unset PKG_CONFIG_PATH
+
../configure \
--host=x86_64-w64-mingw32 \
--build=x86_64-pc-linux-gnu \
@@ -259,6 +262,9 @@ jobs:
mkdir _build && cd _build
+ export PKG_CONFIG_LIBDIR=/dev/null
+ unset PKG_CONFIG_PATH
+
export CC=${{ matrix.arch }}-w64-mingw32-clang
export CXX=${CC}++
../configure \