File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,13 @@ CFLAGS="${CFLAGS}" CPPFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ./configure \
42
42
${EXTRA_CONFIGURE_FLAGS}
43
43
44
44
# 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
45
+ if [[ " ${PYBUILD_PLATFORM} " = macos* ]]; then
46
+ sed_args=(-i ' ' -e)
47
+ else
48
+ sed_args=(-i)
48
49
fi
50
+ sed " ${sed_args[@]} " ' s/all: binaries libraries doc/all: libraries/' Makefile
51
+ sed " ${sed_args[@]} " ' s/install-binaries: $(TK_STUB_LIB_FILE) $(TK_LIB_FILE) ${WISH_EXE}/install-binaries: $(TK_STUB_LIB_FILE) $(TK_LIB_FILE)/' Makefile
49
52
50
53
# We are statically linking libX11, and static libraries do not carry
51
54
# information about dependencies. pkg-config --static does, but Tcl/Tk's
You can’t perform that action at this time.
0 commit comments