mirror of https://github.com/python/cpython
bpo-40280: Disable unusable core extension modules on emscripten (GH-29834)
Co-authored-by: Christian Heimes <christian@python.org>
This commit is contained in:
parent
4dc198dedd
commit
b3f443a35e
|
@ -0,0 +1 @@
|
|||
Disable unusable core extension modules on WASM/Emscripten targets.
|
|
@ -21047,6 +21047,10 @@ case $ac_sys_system in #(
|
|||
py_stdlib_not_available="_scproxy nis" ;; #(
|
||||
FreeBSD*) :
|
||||
py_stdlib_not_available="_scproxy spwd" ;; #(
|
||||
Emscripten) :
|
||||
|
||||
py_stdlib_not_available="_curses _curses_panel _dbm _gdbm _multiprocessing _posixshmem _posixsubprocess _scproxy _xxsubinterpreters grp nis ossaudiodev resource spwd syslog termios"
|
||||
;; #(
|
||||
*) :
|
||||
py_stdlib_not_available="_scproxy"
|
||||
;;
|
||||
|
|
20
configure.ac
20
configure.ac
|
@ -6191,6 +6191,26 @@ AS_CASE([$ac_sys_system],
|
|||
[CYGWIN*], [py_stdlib_not_available="_scproxy nis"],
|
||||
[QNX*], [py_stdlib_not_available="_scproxy nis"],
|
||||
[FreeBSD*], [py_stdlib_not_available="_scproxy spwd"],
|
||||
[Emscripten], [
|
||||
py_stdlib_not_available="m4_normalize([
|
||||
_curses
|
||||
_curses_panel
|
||||
_dbm
|
||||
_gdbm
|
||||
_multiprocessing
|
||||
_posixshmem
|
||||
_posixsubprocess
|
||||
_scproxy
|
||||
_xxsubinterpreters
|
||||
grp
|
||||
nis
|
||||
ossaudiodev
|
||||
resource
|
||||
spwd
|
||||
syslog
|
||||
termios
|
||||
])"
|
||||
],
|
||||
[py_stdlib_not_available="_scproxy"]
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue