Index: build/linux/system.gyp |
diff --git a/build/linux/system.gyp b/build/linux/system.gyp |
index 90c8b45e5d13f4f5df51af114f7b9043b396ebb0..cc50d596c505c92d2a046a0b266913bf3c8fe892 100644 |
--- a/build/linux/system.gyp |
+++ b/build/linux/system.gyp |
@@ -625,5 +625,26 @@ |
}], |
], |
}, |
+ { |
+ 'target_name': 'udev', |
+ 'type': 'none', |
+ 'conditions': [ |
+ ['_toolset=="target"', { |
+ 'direct_dependent_settings': { |
+ 'cflags': [ |
+ '<!@(<(pkg-config) --cflags libudev)' |
+ ], |
+ }, |
+ 'link_settings': { |
+ 'ldflags': [ |
+ '<!@(<(pkg-config) --libs-only-L --libs-only-other libudev)', |
+ ], |
+ 'libraries': [ |
+ '<!@(<(pkg-config) --libs-only-l libudev)', |
+ ], |
+ }, |
+ }], |
+ ], |
+ }, |
], |
} |