Commit 2bca85a8 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

qt5.qtwebengine: fix darwin build for system ffmpeg 7

fix #332495
parent b7e1f2fb
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -173,6 +173,10 @@ qtModule ({
    # ld: fatal warning(s) induced error (-fatal_warnings)
    substituteInPlace src/3rdparty/chromium/build/config/compiler/BUILD.gn \
      --replace "-Wl,-fatal_warnings" ""

    # Use system ffmpeg
    echo "gn_args += use_system_ffmpeg=true" >> src/core/config/mac_osx.pri
    echo "LIBS += -lavformat -lavcodec -lavutil" >> src/core/core_common.pri
  '') + postPatch;

  env = {