0001-shared-libraries.patch

 1--- a/BUILD.gn	2026-01-10 19:22:47.201811909 -0500
 2+++ b/BUILD.gn	2026-01-10 19:24:36.440918317 -0500
 3@@ -143,8 +143,8 @@
 4 # target_defaults and direct_dependent_settings.
 5 config("common_inherited_config") {
 6   defines = [ "PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII=0" ]
 7-  cflags = []
 8-  ldflags = []
 9+  cflags = [ "-fvisibility=default" ]
10+  ldflags = [ "-lavutil", "-lavformat", "-lavcodec" ]
11
12   if (rtc_objc_prefix != "") {
13     defines += [ "RTC_OBJC_TYPE_PREFIX=${rtc_objc_prefix}" ]