Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protect #pragma comment(lib, "foo") with _WIN32 checks #6867

Merged
merged 1 commit into from
Jun 12, 2019
Merged

Protect #pragma comment(lib, "foo") with _WIN32 checks #6867

merged 1 commit into from
Jun 12, 2019

Conversation

ismail
Copy link
Contributor

@ismail ismail commented Jun 12, 2019

lld on Linux can now process #pragma comment(lib, "foo") macros which
results in build failures on Linux when lld is used. Fix this by
protecting these macros with _WIN32 checks.

lld on Linux can now process #pragma comment(lib, "foo") macros which
results in build failures on Linux when lld is used. Fix this by
protecting these macros with _WIN32 checks.
@ismail
Copy link
Contributor Author

ismail commented Jun 12, 2019

FWIW vcpkg-osx-PR fail is unrelated.

@ras0219-msft
Copy link
Contributor

/azp run

@ras0219-msft ras0219-msft merged commit 8c49e56 into microsoft:master Jun 12, 2019
@ras0219-msft
Copy link
Contributor

LGTM, thanks for the PR!

strega-nil pushed a commit to strega-nil/vcpkg that referenced this pull request May 5, 2021
lld on Linux can now process #pragma comment(lib, "foo") macros which
results in build failures on Linux when lld is used. Fix this by
protecting these macros with _WIN32 checks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants