aboutsummaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-third__party_ffmpeg_BUILD.gn
blob: ab83a96fdb39dd9a50b4bc7871d706f4db5211a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- third_party/ffmpeg/BUILD.gn.orig	2017-04-19 19:07:44 UTC
+++ third_party/ffmpeg/BUILD.gn
@@ -6,8 +6,13 @@ import("ffmpeg_options.gni")
 import("ffmpeg_generated.gni")
 
 # Path to platform configuration files.
-platform_config_root =
-    "chromium/config/$ffmpeg_branding/$os_config/$ffmpeg_arch"
+if (!is_bsd) {
+  platform_config_root =
+      "chromium/config/$ffmpeg_branding/$os_config/$ffmpeg_arch"
+} else {
+  platform_config_root =
+      "chromium/config/$ffmpeg_branding/linux/$ffmpeg_arch"
+}
 
 has_yasm_deps =
     ffmpeg_yasm_sources != [] &&