Skip to content

Conversation

@BillyONeal
Copy link
Member

Applies repology/libversion#40 as a patch.

See Windows SDK conflict from new port: #48066

Under https://learn.microsoft.com/vcpkg/contributing/maintainer-guide#do-not-rename-binaries-outside-the-names-given-by-upstream I want to give upstream a chance to merge this.

Thanks for figuring out the problem @dg0yt !

@BillyONeal BillyONeal added the category:port-bug The issue is with a library, which is something the port should already support label Nov 7, 2025
+
+if(WIN32)
+ # avoid clash with version.lib from the Windows SDK and the dynamic target above
+ set(LIBVERSION_STATIC_OUTPUT_NAME libversion_static)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding a third variant of the name?

And of course mingw will get some variants of liblibversion...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would be happy to pick something else; is there an existing name variant that doesn't create problems?

It can't be just "libversion" or the dynamic version above will conflict

Copy link
Member

@vicroms vicroms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@BillyONeal
Copy link
Member Author

Upstream explicitly rejected this so we can't merge it.

@BillyONeal BillyONeal closed this Nov 10, 2025
BillyONeal added a commit to BillyONeal/vcpkg that referenced this pull request Nov 10, 2025
@BillyONeal BillyONeal deleted the libversion-name branch January 6, 2026 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:port-bug The issue is with a library, which is something the port should already support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants