Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 593cf7b

Browse files
committedMar 20, 2025·
QuickJS: added xml module.
1 parent 2270b9f commit 593cf7b

File tree

8 files changed

+2557
-292
lines changed

8 files changed

+2557
-292
lines changed
 

‎.github/workflows/check-pr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: |
3333
sudo dpkg --add-architecture i386
3434
sudo apt-get update
35-
sudo apt-get install -y gcc-multilib libc6:i386 libpcre2-dev:i386 zlib1g-dev:i386
35+
sudo apt-get install -y gcc-multilib libc6:i386 libssl-dev:i386 libpcre2-dev:i386 zlib1g-dev:i386 libxml2-dev:i386
3636
3737
- name: Check out nginx
3838
run: |

‎auto/qjs_modules

+8
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ if [ $NJS_OPENSSL = YES -a $NJS_HAVE_OPENSSL = YES ]; then
3333
. auto/qjs_module
3434
fi
3535

36+
if [ $NJS_LIBXML2 = YES -a $NJS_HAVE_LIBXML2 = YES ]; then
37+
njs_module_name=qjs_xml_module
38+
njs_module_incs=
39+
njs_module_srcs=external/qjs_xml_module.c
40+
41+
. auto/qjs_module
42+
fi
43+
3644
if [ $NJS_ZLIB = YES -a $NJS_HAVE_ZLIB = YES ]; then
3745
njs_module_name=qjs_zlib_module
3846
njs_module_incs=

0 commit comments

Comments
 (0)
Please sign in to comment.