]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] CI: Configure macOS build as per updated devguide recommendations (GH-105533...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 8 Jun 2023 22:57:01 +0000 (15:57 -0700)
committerGitHub <noreply@github.com>
Thu, 8 Jun 2023 22:57:01 +0000 (22:57 +0000)
(cherry picked from commit a5f23d411062f9f29f8a7d7ddefe60d5d8e17d2e)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
.github/workflows/build.yml

index c2293cb4de30b540e0c7ac799975135f972c4124..2ffd73c9db9cd02baf4429e5b91560c28e47ecbd 100644 (file)
@@ -228,9 +228,8 @@ jobs:
       run: brew install pkg-config openssl@1.1 xz gdbm tcl-tk
     - name: Configure CPython
       run: |
-        CFLAGS="-I$(brew --prefix gdbm)/include -I$(brew --prefix xz)/include" \
-        LDFLAGS="-L$(brew --prefix gdbm)/lib -I$(brew --prefix xz)/lib" \
-        PKG_CONFIG_PATH="$(brew --prefix tcl-tk)/lib/pkgconfig" \
+        GDBM_CFLAGS="-I$(brew --prefix gdbm)/include" \
+        GDBM_LIBS="-L$(brew --prefix gdbm)/lib -lgdbm" \
         ./configure \
           --config-cache \
           --with-pydebug \