diff --git a/ports/zydis/portfile.cmake b/ports/zydis/portfile.cmake index 27ee6d782a..f8e48649fc 100644 --- a/ports/zydis/portfile.cmake +++ b/ports/zydis/portfile.cmake @@ -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") diff --git a/ports/zydis/vcpkg.json b/ports/zydis/vcpkg.json index 84dacdc119..e7453bec86 100644 --- a/ports/zydis/vcpkg.json +++ b/ports/zydis/vcpkg.json @@ -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", diff --git a/versions/baseline.json b/versions/baseline.json index bdadbee0c0..ed0652a4c8 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -9006,7 +9006,7 @@ }, "zydis": { "baseline": "4.0.0", - "port-version": 0 + "port-version": 1 }, "zyre": { "baseline": "2019-07-07", diff --git a/versions/z-/zydis.json b/versions/z-/zydis.json index ce8b1d9942..5098e904e7 100644 --- a/versions/z-/zydis.json +++ b/versions/z-/zydis.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "743422a6b31df7e852fdc96cc14fe95a3f8a8136", + "version-semver": "4.0.0", + "port-version": 1 + }, { "git-tree": "3e5b3e4b01d2ff55d68c2f591d0dd523224844c5", "version-semver": "4.0.0",