summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-06-20 12:08:14 (GMT)
committerGitHub <noreply@github.com>2022-06-20 12:08:14 (GMT)
commit81686e701cda58fc155f9bbd2fe07c523185914b (patch)
tree67a4c1555afd5ede2e9c74cf09127b9ce8547039 /configure.ac
parent5abe4cbe88ecae2f52aa2b320dfbc7b9d1572a10 (diff)
downloadcpython-81686e701cda58fc155f9bbd2fe07c523185914b.zip
cpython-81686e701cda58fc155f9bbd2fe07c523185914b.tar.gz
cpython-81686e701cda58fc155f9bbd2fe07c523185914b.tar.bz2
gh-84461: Silence some compiler warnings on WASM (GH-93978)
(cherry picked from commit 774ef28814d0d9d57ec813cb31b0a7af6c476127) Co-authored-by: Christian Heimes <christian@python.org>
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 9bcb381..97ee28f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6977,7 +6977,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.