Skip to content

Commit b5c0f27

Browse files
committed
unix: split tk dependencies into variable
1 parent a7e8b23 commit b5c0f27

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

cpython-unix/Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,12 @@ TIX_DEPENDS = \
190190
$(OUTDIR)/tix-$(TIX_VERSION)-$(PLATFORM).tar: $(TIX_DEPENDS)
191191
$(BUILD) --platform $(PLATFORM) tix
192192

193-
$(OUTDIR)/tk-$(TK_VERSION)-$(PLATFORM).tar: $(HERE)/build-tk.sh $(OUTDIR)/tcl-$(TCL_VERSION)-$(PLATFORM).tar $(OUTDIR)/libX11-$(LIBX11_VERSION)-$(PLATFORM).tar
193+
TK_DEPENDS = \
194+
$(HERE)/build-tk.sh $(OUTDIR)/tcl-$(TCL_VERSION)-$(PLATFORM).tar \
195+
$(OUTDIR)/libX11-$(LIBX11_VERSION)-$(PLATFORM).tar
196+
$(NULL)
197+
198+
$(OUTDIR)/tk-$(TK_VERSION)-$(PLATFORM).tar: $(TK_DEPENDS)
194199
$(BUILD) --platform $(PLATFORM) tk
195200

196201
$(OUTDIR)/uuid-$(UUID_VERSION)-$(PLATFORM).tar: $(PYTHON_DEP_DEPENDS) $(HERE)/build-uuid.sh

0 commit comments

Comments
 (0)