[chakracore] enable static crt (#34270)

This commit is contained in:
Leonid Pospelov 2023-10-05 05:55:03 +06:00 committed by GitHub
parent 9d031612af
commit 3b7578831d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 5 deletions

View File

@ -15,7 +15,6 @@ if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64")
set(additional_options NO_TOOLCHAIN_PROPS) # don't know how to fix the linker error about __guard_check_icall_thunk
endif()
set(CHAKRA_RUNTIME_LIB "static_library") # ChakraCore only supports static CRT linkage
if(VCPKG_TARGET_ARCHITECTURE MATCHES "x86")
set(PLATFORM_ARG PLATFORM x86) # it's x86, not Win32 in sln file
endif()
@ -25,7 +24,6 @@ if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
PROJECT_SUBPATH Build/Chakra.Core.sln
OPTIONS
"/p:CustomBeforeMicrosoftCommonTargets=${CMAKE_CURRENT_LIST_DIR}/no-warning-as-error.props"
"/p:RuntimeLib=${CHAKRA_RUNTIME_LIB}"
${PLATFORM_ARG}
${additional_options}
)

View File

@ -1,11 +1,11 @@
{
"name": "chakracore",
"version-date": "2022-11-09",
"port-version": 4,
"port-version": 5,
"description": "Core part of the Chakra Javascript engine",
"homepage": "https://github.com/Microsoft/ChakraCore",
"license": "MIT",
"supports": "!osx & !uwp & (linux | (!static & !staticcrt))",
"supports": "!osx & !uwp & (linux | !static)",
"dependencies": [
{
"name": "vcpkg-cmake",

View File

@ -1510,7 +1510,7 @@
},
"chakracore": {
"baseline": "2022-11-09",
"port-version": 4
"port-version": 5
},
"charls": {
"baseline": "2.4.2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "98c62c0fbb2d410646eec57ce65ec0b91ad19fcf",
"version-date": "2022-11-09",
"port-version": 5
},
{
"git-tree": "cc06634190b18bc8003202b9490c6af7919821a3",
"version-date": "2022-11-09",