Building a project like Gyroflow https://github.com/gyroflow/gyroflow requires linking against static libs `libopencv_core.a`, etc. but there is no option (that I can find) in the ebuild to allow building of these static libs. Reproducible: Always
Why can't Gyroflow use the shared libraries?
It is a Rust application that is statically linked. I do not understand the build system well enough to know if that can be changed.
(In reply to siefkenj from comment #2) > It is a Rust application that is statically linked. I do not understand the > build system well enough to know if that can be changed. Then I find asking for a static library in a dependency tenuous.
There is a similar option `USE=static-libs` provided by `libpng`.
libpng supports static libs, opencv does not https://github.com/opencv/opencv/issues/21447. You can pass MYCMAKEARGBS="-DBUILD_SHARED_LIBS=yes" to build static libs, but that will be totally broken and won't get support. I also don't see any viable reason to do that in the ebuild given the scope of breakage. Try to find out how to fix the linkage. You might get help on irc in #gentoo-rust or #gentoo-dev-help.