File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -150,8 +150,14 @@ jobs:
150
150
PYTHONSTRICTEXTENSIONBUILD : 1
151
151
steps :
152
152
- 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
153
159
- 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
155
161
- name : Build CPython
156
162
run : make -j4
157
163
- name : Display build info
You can’t perform that action at this time.
0 commit comments