File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -2522,6 +2522,8 @@ Python/thread.o: @THREADHEADERS@ $(srcdir)/Python/condvar.h
2522
2522
##########################################################################
2523
2523
# Module dependencies and platform-specific files
2524
2524
2525
+ MODULE_DEPS=$(PYTHON_HEADERS) Modules/config.c $(EXPORTSYMS)
2526
+
2525
2527
MODULE_CMATH_DEPS=$(srcdir)/Modules/_math.h
2526
2528
MODULE_MATH_DEPS=$(srcdir)/Modules/_math.h
2527
2529
MODULE_PYEXPAT_DEPS=$(LIBEXPAT_HEADERS) @LIBEXPAT_INTERNAL@
Original file line number Diff line number Diff line change
1
+ Shared module targets now depend on new ``MODULE_DEPS `` variable, which
2
+ includes ``EXPORTSYMS ``. This fixes a build order issue on unsupported AIX
3
+ platform.
Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
267
267
cc=" $cc $cpps \$ (PY_BUILTIN_MODULE_CFLAGS)" ;;
268
268
esac
269
269
# force rebuild when header file or module build flavor (static/shared) is changed
270
- rule=" $obj : $src \$ (MODULE_${mods_upper} _DEPS) \$ (PYTHON_HEADERS) Modules/config.c ; $cc -c $src -o $obj "
270
+ rule=" $obj : $src \$ (MODULE_${mods_upper} _DEPS) \$ (MODULE_DEPS) ; $cc -c $src -o $obj "
271
271
echo " $rule " >> $rulesf
272
272
done
273
273
case $doconfig in
You can’t perform that action at this time.
0 commit comments