You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 30, 2023. It is now read-only.
I have built ffmpeg myself and want to use it with ffmpeg-sys. I'm overriding build script as described here. The issue is that build script in addition to actually building the library also detects its features. If I override the build script I will have to manually specify all these features which is error prone.
To allow overriding I think that ffmpeg-sys must be split into two crates.
ffmpeg-sys-builld will only contain a build script to build ffmpeg (or find an existing installation) and will declare links value in it's Cargo.toml.
ffmpeg-sys will depend on ffmpeg-sys-builld and contain build script which detects features.
This way it will be possible to use overriding mechanism as it will only override the build of ffmpeg (in ffmpeg-sys-builld/build.rs) but feature detection (in ffmpeg-sys/build.rs) will work as usual.
The text was updated successfully, but these errors were encountered:
I have built ffmpeg myself and want to use it with ffmpeg-sys. I'm overriding build script as described here. The issue is that build script in addition to actually building the library also detects its features. If I override the build script I will have to manually specify all these features which is error prone.
To allow overriding I think that ffmpeg-sys must be split into two crates.
links
value in it's Cargo.toml.This way it will be possible to use overriding mechanism as it will only override the build of ffmpeg (in ffmpeg-sys-builld/build.rs) but feature detection (in ffmpeg-sys/build.rs) will work as usual.
The text was updated successfully, but these errors were encountered: