Skip to content

Commit 984efb4

Browse files
committed
Suppress building wish on all platforms
1 parent 9e58f95 commit 984efb4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

cpython-unix/build-tk.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,8 @@ CFLAGS="${CFLAGS}" CPPFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ./configure \
4242
${EXTRA_CONFIGURE_FLAGS}
4343

4444
# Remove wish, since we don't need it.
45-
if [[ "${PYBUILD_PLATFORM}" != macos* ]]; then
46-
sed -i 's/all: binaries libraries doc/all: libraries/' Makefile
47-
sed -i 's/install-binaries: $(TK_STUB_LIB_FILE) $(TK_LIB_FILE) ${WISH_EXE}/install-binaries: $(TK_STUB_LIB_FILE) $(TK_LIB_FILE)/' Makefile
48-
fi
45+
sed -i 's/all: binaries libraries doc/all: libraries/' Makefile
46+
sed -i 's/install-binaries: $(TK_STUB_LIB_FILE) $(TK_LIB_FILE) ${WISH_EXE}/install-binaries: $(TK_STUB_LIB_FILE) $(TK_LIB_FILE)/' Makefile
4947

5048
# For some reason musl isn't link libXau and libxcb. So we hack the Makefile
5149
# to do what we want.

0 commit comments

Comments
 (0)