[quickjs-ng] Add a feature for quickjs standard library (#49610)

This commit is contained in:
Jon Spencer 2026-01-26 22:33:37 -08:00 committed by GitHub
parent a24940c104
commit b03010e6fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 20 additions and 3 deletions

View File

@ -12,8 +12,15 @@ vcpkg_from_github(
pdb_name_conflict.patch
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
libc QJS_BUILD_LIBC
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
${FEATURE_OPTIONS}
)
vcpkg_cmake_install()

View File

@ -1,7 +1,7 @@
{
"name": "quickjs-ng",
"version": "0.11.0",
"port-version": 1,
"port-version": 2,
"description": "QuickJS, the Next Generation: a mighty JavaScript engine. A small and embeddable JavaScript engine supporting the latest ECMAScript specification.",
"homepage": "https://github.com/quickjs-ng/quickjs",
"license": "MIT",
@ -14,5 +14,10 @@
"name": "vcpkg-cmake-config",
"host": true
}
]
],
"features": {
"libc": {
"description": "Support for the quickjs standard library"
}
}
}

View File

@ -8394,7 +8394,7 @@
},
"quickjs-ng": {
"baseline": "0.11.0",
"port-version": 1
"port-version": 2
},
"quill": {
"baseline": "11.0.2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "ca65516cc49dde7b064641847abf979f44a56ef3",
"version": "0.11.0",
"port-version": 2
},
{
"git-tree": "5c4169e09b13642be14ccbecc0cf253367fee229",
"version": "0.11.0",