rust-ffmpeg-sys
rust-ffmpeg-sys copied to clipboard
Cross compile fix
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.