summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-06-20 11:34:40 (GMT)
committerGitHub <noreply@github.com>2022-06-20 11:34:40 (GMT)
commit774ef28814d0d9d57ec813cb31b0a7af6c476127 (patch)
treeb14188c8f6e7a6a789f6f4c2e8f63b5c0e01808b /configure.ac
parentaffa9f22cfd1e83a5fb413e5ce2feef9ea1a49ac (diff)
downloadcpython-774ef28814d0d9d57ec813cb31b0a7af6c476127.zip
cpython-774ef28814d0d9d57ec813cb31b0a7af6c476127.tar.gz
cpython-774ef28814d0d9d57ec813cb31b0a7af6c476127.tar.bz2
gh-84461: Silence some compiler warnings on WASM (GH-93978)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1a17bdb..4f8e7e3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6911,7 +6911,7 @@ PY_STDLIB_MOD([_testbuffer], [test "$TEST_MODULES" = yes])
PY_STDLIB_MOD([_testimportmultiple], [test "$TEST_MODULES" = yes], [test "$ac_cv_func_dlopen" = yes])
PY_STDLIB_MOD([_testmultiphase], [test "$TEST_MODULES" = yes], [test "$ac_cv_func_dlopen" = yes])
PY_STDLIB_MOD([_xxtestfuzz], [test "$TEST_MODULES" = yes])
-PY_STDLIB_MOD([_ctypes_test], [test "$TEST_MODULES" = yes], [], [], [-lm])
+PY_STDLIB_MOD([_ctypes_test], [test "$TEST_MODULES" = yes], [test "$ac_cv_func_dlopen" = yes], [], [-lm])
dnl Limited API template modules.
dnl The limited C API is not compatible with the Py_TRACE_REFS macro.