Skip to content

Commit 70871e1

Browse files
committed
Avoid circular reference
1 parent 073dd9f commit 70871e1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Makefile.pre.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1613,9 +1613,11 @@ BOOTSTRAP_HEADERS = \
16131613

16141614
Programs/_bootstrap_python.o: Programs/_bootstrap_python.c $(BOOTSTRAP_HEADERS) $(PYTHON_HEADERS)
16151615

1616-
_bootstrap_python: $(LIBRARY_OBJS_OMIT_FROZEN) Programs/_bootstrap_python.o Modules/getpath.o Modules/Setup.local pybuilddir.txt
1616+
_bootstrap_python: $(LIBRARY_OBJS_OMIT_FROZEN) Programs/_bootstrap_python.o Modules/getpath.o Modules/Setup.local
16171617
$(LINKCC) $(PY_LDFLAGS_NOLTO) -o $@ $(LIBRARY_OBJS_OMIT_FROZEN) \
16181618
Programs/_bootstrap_python.o Modules/getpath.o $(LIBS) $(MODLIBS) $(SYSLIBS)
1619+
# Dummy pybuilddir.txt is needed for _bootstrap_python to be runnable
1620+
@echo "none" > ./pybuilddir.txt
16191621

16201622

16211623
############################################################################

0 commit comments

Comments
 (0)