Skip to content

Cross compile fix#119

Open
JonathanLStoff wants to merge 2 commits intozmwangx:masterfrom
JonathanLStoff:cross_compile_fix
Open

Cross compile fix#119
JonathanLStoff wants to merge 2 commits intozmwangx:masterfrom
JonathanLStoff:cross_compile_fix

Conversation

@JonathanLStoff
Copy link
Copy Markdown

There is an error (unknown os) when using the build and static features when cross-compiling.
Causes the CARGO supplied OS to be passed to ffmpeg (example target-os=macos).
This is an issue as ffmpeg expects darwin not macos.
Similar thing happens when building windows using the Github actions with windows-latest as it detects target != host.

Screenshot 2025-11-17 at 9 17 27 PM

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