File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -42,16 +42,14 @@ 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
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
49
47
50
48
# For some reason musl isn't link libXau and libxcb. So we hack the Makefile
51
49
# to do what we want.
52
50
if [ " ${CC} " = " musl-clang" ]; then
53
- sed -i ' s/-ldl -lpthread /-ldl -lpthread -lXau -lxcb/' tkConfig.sh
54
- sed -i ' s/-lpthread $(X11_LIB_SWITCHES) -ldl -lpthread/-lpthread $(X11_LIB_SWITCHES) -ldl -lpthread -lXau -lxcb/' Makefile
51
+ sed -i ' ' ' s/-ldl -lpthread /-ldl -lpthread -lXau -lxcb/' tkConfig.sh
52
+ sed -i ' ' ' s/-lpthread $(X11_LIB_SWITCHES) -ldl -lpthread/-lpthread $(X11_LIB_SWITCHES) -ldl -lpthread -lXau -lxcb/' Makefile
55
53
fi
56
54
57
55
make -j ${NUM_CPUS}
You can’t perform that action at this time.
0 commit comments