File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ option(WITH_NODE_TESTS "With node tests" OFF)
77option (LINK_LIBEXPAT "Link libexpat" OFF )
88option (LINK_LIBMPDEC "Link libmpdec" OFF )
99
10+ option (LINK_LIBLZMA "Link liblzma" OFF )
11+
1012# set PY_VERSION to 3.11 if the user has not set it
1113if (NOT DEFINED PY_VERSION)
1214 set (PY_VERSION 3.11)
@@ -154,6 +156,10 @@ SET(PYTHON_UTIL_LIBS
154156 ${CMAKE_INSTALL_PREFIX} /lib/libcrypto.a
155157)
156158
159+ if (LINK_LIBLZMA)
160+ SET (PYTHON_UTIL_LIBS ${PYTHON_UTIL_LIBS} ${CMAKE_INSTALL_PREFIX} /lib/liblzma.a)
161+ endif ()
162+
157163
158164if (LINK_LIBEXPAT)
159165 SET (PYTHON_UTIL_LIBS ${PYTHON_UTIL_LIBS} ${CMAKE_INSTALL_PREFIX} /lib/libexpat.a)
Original file line number Diff line number Diff line change @@ -23,7 +23,8 @@ if [ ! -d "$WASM_ENV_PREFIX" ]; then
2323 --yes \
2424 python=$PYTHON_VERSION " pybind11" nlohmann_json pybind11_json numpy \
2525 bzip2 sqlite zlib zstd libffi exceptiongroup\
26- " xeus" " xeus-lite" xeus-python " xeus-javascript" xtl " ipython=8.22.2=py311had7285e_1" " traitlets>=5.14.2" openssl
26+ " xeus" " xeus-lite" xeus-python " xeus-javascript" xtl " ipython=8.22.2=py311had7285e_1" " traitlets>=5.14.2" \
27+ openssl
2728
2829else
2930 echo " Wasm env $WASM_ENV_NAME already exists"
Original file line number Diff line number Diff line change 2323if sys .version_info [0 ] == 3 and sys .version_info [1 ] >= 13 :
2424 def test_ssl_import ():
2525 import ssl
26+
27+ def test_import_lzma ():
28+ import lzma
2629
2730def test_js_submodule ():
2831 from pyjs .js import Function
You can’t perform that action at this time.
0 commit comments