mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 05:50:58 +08:00
[expat] Ensure dllimport (#39505)
This commit is contained in:
parent
513ccfb2cb
commit
a0140d65bb
@ -34,6 +34,7 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/doc")
|
||||
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/expat_external.h" "defined(_MSC_EXTENSIONS)" "defined(_WIN32)")
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/expat_external.h" "! defined(XML_STATIC)" "0")
|
||||
endif()
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "expat",
|
||||
"version": "2.6.2",
|
||||
"port-version": 1,
|
||||
"description": "XML parser library written in C",
|
||||
"homepage": "https://github.com/libexpat/libexpat",
|
||||
"license": "MIT",
|
||||
|
@ -2566,7 +2566,7 @@
|
||||
},
|
||||
"expat": {
|
||||
"baseline": "2.6.2",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"expected-lite": {
|
||||
"baseline": "0.8.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "3dd04e00c4f8232792f1db1f47a07aaecc4ad061",
|
||||
"version": "2.6.2",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "e75ed0e0697a3049343ccfb52fd11eea6cebc30a",
|
||||
"version": "2.6.2",
|
||||
|
Loading…
Reference in New Issue
Block a user