Skip to content

Commit

Permalink
Fix Makefile $(BUILDPYTHON) rule
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed Oct 5, 2023
1 parent 223449f commit 32d95c9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile.pre.in
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,10 @@ clinic-tests: check-clean-src $(srcdir)/Lib/test/clinic.test.c
# Build the interpreter
$(BUILDPYTHON): Programs/python.o $(LINK_PYTHON_DEPS)
echo "BUILDPYTHON: run $(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/python.o $(LINK_PYTHON_OBJS) $(LIBS) $(MODLIBS) $(SYSLIBS)"
$(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/python.o $(LINK_PYTHON_OBJS) $(LIBS) $(MODLIBS) $(SYSLIBS)
@ # Use -o $(BUILDPYTHON) instead of -o $@ to write the program in the
@ # build directory instead of the source directory with FreeBSD make
@ # (gh-103053).
$(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $(BUILDPYTHON) Programs/python.o $(LINK_PYTHON_OBJS) $(LIBS) $(MODLIBS) $(SYSLIBS)
echo "BUILDPYTHON: BUILDPYTHON=$(BUILDPYTHON) target=$@"
echo "BUILDPYTHON: built successfully"
echo "BUILDPYTHON: pwd"
Expand Down

0 comments on commit 32d95c9

Please sign in to comment.