aboutsummaryrefslogblamecommitdiff
path: root/www/chromium/files/patch-third__party_expat_BUILD.gn
blob: fbeedbf42477a634f564cdc265e6c772d29a7c55 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                                               
                              
                                                             







                                                                            
--- third_party/expat/BUILD.gn.orig	2017-06-05 19:03:27 UTC
+++ third_party/expat/BUILD.gn
@@ -9,7 +9,7 @@ import("//testing/libfuzzer/fuzzer_test.gni")
 # let's not pull it in twice.
 # Chromecast doesn't ship expat as a system library.
 # Libfuzzer and AFL need to build library from sources.
-if (is_linux && !is_chromecast && !use_libfuzzer && !use_afl) {
+if ((is_linux || is_bsd) && !is_chromecast && !use_libfuzzer && !use_afl) {
   config("expat_config") {
     libs = [ "expat" ]
   }