Index: build/linux/system.gyp |
diff --git a/build/linux/system.gyp b/build/linux/system.gyp |
index cc50d596c505c92d2a046a0b266913bf3c8fe892..9065753b0382cc55896178d8dde5c798c9d055a6 100644 |
--- a/build/linux/system.gyp |
+++ b/build/linux/system.gyp |
@@ -629,7 +629,8 @@ |
'target_name': 'udev', |
'type': 'none', |
'conditions': [ |
- ['_toolset=="target"', { |
+ # libudev is not available on *BSD |
+ ['_toolset=="target" and os_bsd!=1', { |
'direct_dependent_settings': { |
'cflags': [ |
'<!@(<(pkg-config) --cflags libudev)' |