Skip to content

Commit 9c1dfe2

Browse files
gh-116303: Don't build xxlimited and xxlimited_35 if --disable-test-modules is given (#117554)
1 parent 0edde64 commit 9c1dfe2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

configure

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

+2-2
Original file line numberDiff line numberDiff line change
@@ -7661,8 +7661,8 @@ PY_STDLIB_MOD([_ctypes_test],
76617661

76627662
dnl Limited API template modules.
76637663
dnl Emscripten does not support shared libraries yet.
7664-
PY_STDLIB_MOD([xxlimited], [], [test "$ac_cv_func_dlopen" = yes])
7665-
PY_STDLIB_MOD([xxlimited_35], [], [test "$ac_cv_func_dlopen" = yes])
7664+
PY_STDLIB_MOD([xxlimited], [test "$TEST_MODULES" = yes], [test "$ac_cv_func_dlopen" = yes])
7665+
PY_STDLIB_MOD([xxlimited_35], [test "$TEST_MODULES" = yes], [test "$ac_cv_func_dlopen" = yes])
76667666

76677667
# substitute multiline block, must come after last PY_STDLIB_MOD()
76687668
AC_SUBST([MODULE_BLOCK])

0 commit comments

Comments
 (0)