Skip to content

Don't set _USRDLL on a static Windows build - #8030

Closed
donny-dont wants to merge 1 commit into
curl:masterfrom
donny-dont:usrdll
Closed

donny-dont wants to merge 1 commit into
curl:masterfrom
donny-dont:usrdll

Conversation

@donny-dont

Copy link
Copy Markdown
Contributor

The _USRDLL macro should only be set when building a .dll.

@donny-dont

Copy link
Copy Markdown
Contributor Author

An issue was reported at microsoft/vcpkg#12763 and in vcpkg it was fixed in microsoft/vcpkg#12800 but this version of the fix fits more with the surrounding CMake code.

@bagder bagder added cmake Windows Windows-specific labels Nov 17, 2021

@bagder bagder left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks perfectly reasonable to me!

@bagder bagder closed this in f99a4c7 Nov 18, 2021
@bagder

bagder commented Nov 18, 2021

Copy link
Copy Markdown
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cmake Windows Windows-specific

Development

Successfully merging this pull request may close these issues.

2 participants