Skip to content

Commit

Permalink
pythongh-113688: fix dtrace build on Solaris (python#113814)
Browse files Browse the repository at this point in the history
(the gcmodule -> gc refactoring broke it)
  • Loading branch information
kulikjak authored Jan 8, 2024
1 parent a9df076 commit bc71ae2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.pre.in
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ LINK_PYTHON_OBJS=@LINK_PYTHON_OBJS@
# On some systems, object files that reference DTrace probes need to be modified
# in-place by dtrace(1).
DTRACE_DEPS = \
Python/ceval.o Python/import.o Python/sysmodule.o Modules/gcmodule.o
Python/ceval.o Python/gc.o Python/import.o Python/sysmodule.o

##########################################################################
# decimal's libmpdec
Expand Down Expand Up @@ -1648,8 +1648,8 @@ Include/pydtrace_probes.h: $(srcdir)/Include/pydtrace.d
mv [email protected] $@

Python/ceval.o: $(srcdir)/Include/pydtrace.h
Python/gc.o: $(srcdir)/Include/pydtrace.h
Python/import.o: $(srcdir)/Include/pydtrace.h
Modules/gcmodule.o: $(srcdir)/Include/pydtrace.h

Python/pydtrace.o: $(srcdir)/Include/pydtrace.d $(DTRACE_DEPS)
$(DTRACE) $(DFLAGS) -o $@ -G -s $< $(DTRACE_DEPS)
Expand Down

0 comments on commit bc71ae2

Please sign in to comment.