diff --git a/ports/quickjs-ng/portfile.cmake b/ports/quickjs-ng/portfile.cmake index 45fdce6a01..100f6b7559 100644 --- a/ports/quickjs-ng/portfile.cmake +++ b/ports/quickjs-ng/portfile.cmake @@ -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() diff --git a/ports/quickjs-ng/vcpkg.json b/ports/quickjs-ng/vcpkg.json index 10f65e8405..141f1504ec 100644 --- a/ports/quickjs-ng/vcpkg.json +++ b/ports/quickjs-ng/vcpkg.json @@ -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" + } + } } diff --git a/versions/baseline.json b/versions/baseline.json index 1f1c2128ef..bbf6bee512 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -8394,7 +8394,7 @@ }, "quickjs-ng": { "baseline": "0.11.0", - "port-version": 1 + "port-version": 2 }, "quill": { "baseline": "11.0.2", diff --git a/versions/q-/quickjs-ng.json b/versions/q-/quickjs-ng.json index 212984af32..b2e56f6dc7 100644 --- a/versions/q-/quickjs-ng.json +++ b/versions/q-/quickjs-ng.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "ca65516cc49dde7b064641847abf979f44a56ef3", + "version": "0.11.0", + "port-version": 2 + }, { "git-tree": "5c4169e09b13642be14ccbecc0cf253367fee229", "version": "0.11.0",