Skip to content

Commit a641c31

Browse files
committed
Set tkinter configure options
1 parent 09b15b2 commit a641c31

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,14 @@ jobs:
150150
PYTHONSTRICTEXTENSIONBUILD: 1
151151
steps:
152152
- uses: actions/checkout@v3
153+
- name: Prepare homebrew environment variables
154+
run: |
155+
echo "PATH=$(brew --prefix tcl-tk)/bin:$PATH" >> $GITHUB_ENV
156+
echo "LDFLAGS=-L$(brew --prefix tcl-tk)/lib" >> $GITHUB_ENV
157+
echo "PKG_CONFIG_PATH=$(brew --prefix openssl@1.1)/lib/pkgconfig:$(brew --prefix tcl-tk)/lib/pkgconfig" >> $GITHUB_ENV
158+
echo "CFLAGS=-I$(brew --prefix tcl-tk)/include" >> $GITHUB_ENV
153159
- name: Configure CPython
154-
run: ./configure --with-pydebug --with-openssl=/usr/local/opt/openssl --with-tcltk-includes=-I$(brew --prefix tcl-tk)/include/ --with-tcltk-libs=-L$(brew --prefix tcl-tk)/lib/ --prefix=/opt/python-dev
160+
run: ./configure --with-pydebug --with-openssl=/usr/local/opt/openssl --prefix=/opt/python-dev --with-tcltk-includes=-I$(brew --prefix tcl-tk)/include --with-tcltk-libs=-L$(brew --prefix tcl-tk)/lib
155161
- name: Build CPython
156162
run: make -j4
157163
- name: Display build info

0 commit comments

Comments
 (0)