mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[zydis] hardcode static define (#32453)
* [zydis] hardcode static usage * v db
This commit is contained in:
parent
6b8459636c
commit
4c21df20b2
@ -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")
|
||||
|
@ -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",
|
||||
|
@ -9006,7 +9006,7 @@
|
||||
},
|
||||
"zydis": {
|
||||
"baseline": "4.0.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"zyre": {
|
||||
"baseline": "2019-07-07",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "743422a6b31df7e852fdc96cc14fe95a3f8a8136",
|
||||
"version-semver": "4.0.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "3e5b3e4b01d2ff55d68c2f591d0dd523224844c5",
|
||||
"version-semver": "4.0.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user