]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] 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 23:00:53 +0000 (16:00 -0700)
committerGitHub <noreply@github.com>
Thu, 8 Jun 2023 23:00:53 +0000 (23:00 +0000)
(cherry picked from commit a5f23d411062f9f29f8a7d7ddefe60d5d8e17d2e)

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

index 99acce905a847284c7e48bd99a0946335735ec0d..e1d4047a87773926e227dbd71b73ab9e8bd86add 100644 (file)
@@ -242,9 +242,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 \