diff options
author | Christian Heimes <christian@python.org> | 2022-11-16 13:03:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-16 13:03:35 (GMT) |
commit | 33f42c269f1a80abba969b638a05a63fe2aeb0a4 (patch) | |
tree | d8a523ea8488db42a746ce74241295e30cb61aec /Makefile.pre.in | |
parent | 3ed8803ef59f80e03c40b100b04c2e13f138ceed (diff) | |
download | cpython-33f42c269f1a80abba969b638a05a63fe2aeb0a4.zip cpython-33f42c269f1a80abba969b638a05a63fe2aeb0a4.tar.gz cpython-33f42c269f1a80abba969b638a05a63fe2aeb0a4.tar.bz2 |
gh-96269: static and shared ext need different deps (#96316)
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 90f5dd7..e1910f6 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -2572,7 +2572,9 @@ Python/thread.o: @THREADHEADERS@ $(srcdir)/Python/condvar.h ########################################################################## # Module dependencies and platform-specific files -MODULE_DEPS=$(PYTHON_HEADERS) Modules/config.c $(EXPORTSYMS) +# force rebuild when header file or module build flavor (static/shared) is changed +MODULE_DEPS_STATIC=Modules/config.c +MODULE_DEPS_SHARED=$(MODULE_DEPS_STATIC) $(EXPORTSYMS) MODULE_CMATH_DEPS=$(srcdir)/Modules/_math.h MODULE_MATH_DEPS=$(srcdir)/Modules/_math.h |