[zydis] hardcode static define (#32453)

* [zydis] hardcode static usage

* v db
This commit is contained in:
Alexander Neumann 2023-07-11 02:14:57 +02:00 committed by GitHub
parent 6b8459636c
commit 4c21df20b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 1 deletions

View File

@ -27,6 +27,7 @@ vcpkg_copy_tools(TOOL_NAMES ZydisDisasm ZydisInfo AUTO_CLEAN)
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/Zydis/Defines.h" "defined(ZYDIS_STATIC_BUILD)" "1")
endif()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")

View File

@ -1,6 +1,7 @@
{
"name": "zydis",
"version-semver": "4.0.0",
"port-version": 1,
"description": "Fast and lightweight x86/x86-64 disassembler library.",
"homepage": "https://zydis.re",
"license": "MIT",

View File

@ -9006,7 +9006,7 @@
},
"zydis": {
"baseline": "4.0.0",
"port-version": 0
"port-version": 1
},
"zyre": {
"baseline": "2019-07-07",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "743422a6b31df7e852fdc96cc14fe95a3f8a8136",
"version-semver": "4.0.0",
"port-version": 1
},
{
"git-tree": "3e5b3e4b01d2ff55d68c2f591d0dd523224844c5",
"version-semver": "4.0.0",