Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[capstone] Use static runtime if capstone wants to be statically linked #23122

Merged
merged 17 commits into from
Feb 22, 2022
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ports/capstone/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
"x86-reduce" CAPSTONE_X86_REDUCE
"xcore" CAPSTONE_XCORE_SUPPORT
"diet" CAPSTONE_BUILD_DIET
"static-crt" CAPSTONE_BUILD_STATIC_RUNTIME
JackBoosY marked this conversation as resolved.
Show resolved Hide resolved
)

vcpkg_configure_cmake(
Expand All @@ -36,7 +37,6 @@ vcpkg_configure_cmake(
-DCAPSTONE_BUILD_SHARED=${CS_BUILD_SHARED}
-DCAPSTONE_BUILD_TESTS=OFF
-DCAPSTONE_BUILD_CSTOOL=OFF
-DCAPSTONE_BUILD_STATIC_RUNTIME=OFF
-DCAPSTONE_X86_ONLY=OFF
${FEATURE_OPTIONS}
)
Expand Down
5 changes: 4 additions & 1 deletion ports/capstone/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "capstone",
"version": "4.0.2",
"port-version": 2,
"port-version": 3,
"description": "Multi-architecture disassembly framework",
"homepage": "https://github.com/aquynh/capstone",
"features": {
Expand Down Expand Up @@ -35,6 +35,9 @@
"sparc": {
"description": "Capstone disassembly support for SPARC"
},
"static-crt": {
"description": "Use Windows C Runtime Library (CRT)"
},
"sysz": {
"description": "Capstone disassembly support for SysZ"
},
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1234,7 +1234,7 @@
},
"capstone": {
"baseline": "4.0.2",
"port-version": 2
"port-version": 3
},
"cartographer": {
"baseline": "1.0.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/c-/capstone.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "322179773392d3ceb4d8ae894faa968a18375f79",
"version": "4.0.2",
"port-version": 3
},
{
"git-tree": "465e527988f09c855e156cff45b7ee6dfbe1d303",
"version": "4.0.2",
Expand Down