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

Fix Windows pkg-config issue #135

Merged
merged 1 commit into from
Dec 6, 2024
Merged

Conversation

JoeSchiff
Copy link
Contributor

The ffmpeg package build has been failing with this error:
ERROR: aom >= 2.0.0 not found using pkg-config

I was able to track the source of the problem to this line in ffmpeg's configure file:
https://github.com/FFmpeg/FFmpeg/blob/56419fd096c55c646fc56d8dde522e32079c907c/configure#L1523

For some reason, when $pkg_version gets evaluated the spaces are not handled correctly. I have no idea why this issue has surfaced only recently.

Putting quotes around the variable seems to solve it. It's not an ideal solution, but it works.

I'll look into upstreaming this change into ffmpeg. Do you have any experience with that?

@WyattBlue WyattBlue merged commit c7376d2 into PyAV-Org:main Dec 6, 2024
5 of 7 checks passed
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