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

In a static library build with clang-cl on Windows, clang-cl warns that avif.lib is empty #2299

Open
wantehchang opened this issue Jul 18, 2024 · 0 comments

Comments

@wantehchang
Copy link
Collaborator

In a static library build (-DBUILD_SHARED_LIBS=OFF) with clang-cl on Windows, clang-cl warns that avif.lib is empty.

See https://github.com/AOMediaCodec/libavif/actions/runs/9999096788/job/27639410608?pr=2298 for an example:

[62/161] Linking C static library avif.lib
ignoring unknown argument: -M

warning: no input files, not writing output file

         pass /llvmlibempty to write empty .lib file,

         pass /ignore:emptyoutput to suppress warning

I have not seen this warning in my local build. I don't know why.

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

No branches or pull requests

1 participant