Skip to content

Commit d5e1d17

Browse files
committed
linux: add dependency on ncurses when building libedit
Otherwise there's a race and we could get a file not found for ncurses. Partially fixes #2.
1 parent c0d6939 commit d5e1d17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpython-linux/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ $(OUTDIR)/ncurses-%.tar: $(TOOLCHAIN_DEPENDS) $(HERE)/build-ncurses.sh
4949
$(OUTDIR)/openssl-%.tar: $(TOOLCHAIN_DEPENDS) $(HERE)/build-openssl.sh
5050
$(BUILD) --platform $* openssl
5151

52-
$(OUTDIR)/libedit-%.tar: $(TOOLCHAIN_DEPENDS) $(HERE)/build-libedit.sh
52+
$(OUTDIR)/libedit-%.tar: $(TOOLCHAIN_DEPENDS) $(OUTDIR)/ncurses-%.tar $(HERE)/build-libedit.sh
5353
$(BUILD) --platform $* libedit
5454

5555
$(OUTDIR)/readline-%.tar: $(TOOLCHAIN_DEPENDS) $(OUTDIR)/ncurses-$(PLATFORM).tar $(HERE)/build-readline.sh

0 commit comments

Comments
 (0)