Some applications might prefer or require static linking. Since shaderc-sys already supports static linking, but searches for dynamic libs first, a simple feature switch, similar to build-from-source, could be used to search for static libs first. While this could be done by modifying search directories or file structures prior to building, that feels like a messier, hackier solution.
Some applications might prefer or require static linking. Since shaderc-sys already supports static linking, but searches for dynamic libs first, a simple feature switch, similar to
build-from-source
, could be used to search for static libs first. While this could be done by modifying search directories or file structures prior to building, that feels like a messier, hackier solution.