I decided to change logic for my own version (bridges) so here is a version that is compatible with all existing libraries, static and dynamic, compile and runtime. With my updated version of libflac, it will work on static link. On dynamic link, it will try to load the chaining system and just create a log if failing. On static link, it will spit a compile-time message and one runtime log if chaining is missing.
Per your comment, feel free to ignore that, I just offered it to avoid forcing disabling USE_LIBOGG in all cases.
I decided to change logic for my own version (bridges) so here is a version that is compatible with all existing libraries, static and dynamic, compile and runtime. With my updated version of libflac, it will work on static link. On dynamic link, it will try to load the chaining system and just create a log if failing. On static link, it will spit a compile-time message and one runtime log if chaining is missing.
Per your comment, feel free to ignore that, I just offered it to avoid forcing disabling USE_LIBOGG in all cases.