pkgsrc-wip/chromium/patches/patch-third__party_webrtc_s...

23 lines
574 B
Plaintext

$NetBSD$
--- third_party/webrtc/system_wrappers/BUILD.gn.orig 2020-07-15 19:01:42.000000000 +0000
+++ third_party/webrtc/system_wrappers/BUILD.gn
@@ -55,7 +55,7 @@ rtc_library("system_wrappers") {
libs += [ "log" ]
}
- if (is_linux) {
+ if (is_linux || is_bsd) {
if (!build_with_chromium) {
deps += [ ":cpu_features_linux" ]
}
@@ -117,7 +117,7 @@ if (is_android && !build_with_mozilla) {
}
}
-if (is_linux) {
+if (is_linux || is_bsd) {
rtc_library("cpu_features_linux") {
sources = [ "source/cpu_features_linux.c" ]
deps = [