[expat] Ensure dllimport (#39505)

This commit is contained in:
Kai Pastor 2024-06-27 05:30:23 +02:00 committed by GitHub
parent 513ccfb2cb
commit a0140d65bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 1 deletions

View File

@ -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()

View File

@ -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",

View File

@ -2566,7 +2566,7 @@
},
"expat": {
"baseline": "2.6.2",
"port-version": 0
"port-version": 1
},
"expected-lite": {
"baseline": "0.8.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "3dd04e00c4f8232792f1db1f47a07aaecc4ad061",
"version": "2.6.2",
"port-version": 1
},
{
"git-tree": "e75ed0e0697a3049343ccfb52fd11eea6cebc30a",
"version": "2.6.2",