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

Add static flag to libheif.pc #1415

Merged
merged 1 commit into from
Dec 5, 2024
Merged

Add static flag to libheif.pc #1415

merged 1 commit into from
Dec 5, 2024

Conversation

kmilos
Copy link
Contributor

@kmilos kmilos commented Nov 29, 2024

This is just one (small) step in addressing e.g. #513 and #902 for clients of the static library (for which the correct OOTB build of on Windows still needs to be handled).

This is not gated by WIN32 anywhere (i.e. placeholder to be conditionally substituted by CMake), but it doesn't affect other platforms, so might as well hard code it...

@bradh
Copy link
Contributor

bradh commented Nov 29, 2024

Shouldn't this only be set if it is a static build?

@kmilos
Copy link
Contributor Author

kmilos commented Nov 29, 2024

Precisely. Hence the "Cflags.private".

@farindk farindk merged commit 1d02ebe into strukturag:master Dec 5, 2024
35 checks passed
@farindk
Copy link
Contributor

farindk commented Dec 5, 2024

Shouldn't this only be set if it is a static build?

Yes, that Cflags.private name is confusing.

@kmilos
Copy link
Contributor Author

kmilos commented Dec 6, 2024

that Cflags.private name is confusing

How so? It's analogous to Libs.private and Requires.private...

@kmilos kmilos deleted the patch-1 branch December 6, 2024 00:19
@bradh
Copy link
Contributor

bradh commented Dec 6, 2024

Yes, just as confusing as those....

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.

3 participants