]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-113688: fix dtrace build on Solaris (#113814)
authorJakub Kulík <Kulikjak@gmail.com>
Mon, 8 Jan 2024 19:28:09 +0000 (20:28 +0100)
committerGitHub <noreply@github.com>
Mon, 8 Jan 2024 19:28:09 +0000 (11:28 -0800)
(the gcmodule -> gc refactoring broke it)

Makefile.pre.in

index d3c43640fef5cdaa6a547936ce7349e04a35f45f..abbd4b1b1fbd6c17071e140221383dae61e938e3 100644 (file)
@@ -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
@@ -1648,8 +1648,8 @@ Include/pydtrace_probes.h: $(srcdir)/Include/pydtrace.d
        mv $@.tmp $@
 
 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)