Index: third_party/libusb/libusb.gyp |
diff --git a/third_party/libusb/libusb.gyp b/third_party/libusb/libusb.gyp |
index ee6c22e3168aa74d0f6815356a83f455f5a4924b..21ce2434d1238dbe4f81a91fa3e1a4b40b2c8cee 100644 |
--- a/third_party/libusb/libusb.gyp |
+++ b/third_party/libusb/libusb.gyp |
@@ -63,12 +63,18 @@ |
}], |
['use_udev==1', { |
'sources': [ |
- 'src/libusb/os/linux_udev.c', |
+ 'src/libusb/os/linux_udev.cc', |
], |
'defines': [ |
'HAVE_LIBUDEV=1', |
'USE_UDEV=1', |
], |
+ 'dependencies': [ |
+ '../../device/udev_linux/udev.gyp:udev_linux', |
+ ], |
+ 'include_dirs': [ |
+ '../..', |
+ ], |
}], |
['OS=="linux" and use_udev==0', { |
'sources': [ |