      if (is_fuchsia || (is_posix && !is_mac)) {
        # Fixes warnings PIC relocation when building as component.
        ldflags += [
-@@ -434,12 +440,10 @@ if (is_component_ffmpeg) {
+@@ -443,13 +449,14 @@ if (is_component_ffmpeg) {
        deps += [ ":ffmpeg_generate_def" ]
        sources = [
          "$target_gen_dir/ffmpeg.def",

diff --git a/BUILD.gn b/BUILD.gn
index 1f11a9731d..abe12dc294 100755
--- BUILD.gn
+++ BUILD.gn
@@ -264,7 +264,7 @@ target(link_target_type, "ffmpeg_internal") {
   # Windows builds can't compile without EBP because we can't omit frame
   # pointers like we do on posix.
   if (current_cpu == "x86") {

       defines += [ "HAVE_EBP_AVAILABLE=0" ]
     } else {
       defines += [ "HAVE_EBP_AVAILABLE=1" ]
@@ -431,6 +431,12 @@ if (is_component_ffmpeg) {
     # So we can append below and assume they're defined.
     ldflags = []
 
