Skip to content

[expat] a few issues #13012

@Neumann-A

Description

@Neumann-A
  • requires a vcpkg-cmake-wrapper.cmake to correctly set debug & release versions in EXPAT_LIBRARIES due to how cmakes FindEXPAT module works.
  • library name changed from 2.2.7 from expat.lib to libexpat.lib in >2.2.9. This will break future work on make based ports expecting the name expat and thus leads to a lot of pain and patching. upstream need to get their stuff together here and shouldn't change the library name but use versioned dll's instead to fix the observed problem which was according to the cmakelists.txt:
# Avoid colliding with Expat.dll of Perl's XML::Parser::Expat
if(WIN32 AND NOT MINGW)
    set(_EXPAT_TARGET libexpat)
else()
    set(_EXPAT_TARGET expat)
endif()

the above changes makes supporting normal windows and mingw builds unnecessarily complex......

Metadata

Metadata

Assignees

Labels

category:port-featureThe issue is with a library, which is requesting new capabilities that didn’t exist

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions