Skip to content
New issue

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

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

Already on GitHub? # to your account

Add detection when compiling with Clang and Ninja under Windows #2877

Merged
merged 1 commit into from
Dec 1, 2021

Conversation

jannkoeker
Copy link
Contributor

According to the Clang documentation Clang creates MSVC-compatible libraries by default when compiling for Windows. This includes the names of the resulting library files.
This fixes the ninja error multiple rules generate lib/zstd.lib [-w dupbuild=err] for Clang under Windows.

Fixes #2248 and propably #2770

 Prevents multiple rules error when building with ninja and clang under windows
@Cyan4973 Cyan4973 merged commit bf0a746 into facebook:dev Dec 1, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

multiple rules generate zstd.lib
4 participants