mini-calc: 3.3.3 -> 3.3.5 (#372274)
[NixPkgs.git] / pkgs / by-name / li / livekit-libwebrtc / 0001-shared-libraries.patch
blob1baf8dd63081175801ce58d515d9feb515a401fe
1 diff --git a/BUILD.gn b/BUILD.gn
2 index d5289b8..598bbbc 100644
3 --- a/BUILD.gn
4 +++ b/BUILD.gn
5 @@ -138,8 +138,8 @@ config("library_impl_config") {
6 # target_defaults and direct_dependent_settings.
7 config("common_inherited_config") {
8 defines = []
9 - cflags = []
10 - ldflags = []
11 + cflags = [ "-fvisibility=default" ]
12 + ldflags = [ "-lavutil", "-lavformat", "-lavcodec" ]
14 if (rtc_dlog_always_on) {
15 defines += [ "DLOG_ALWAYS_ON" ]