summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-device_usb_usb.gyp
blob: e540b4fd19a7df11d145e6b4e674ee43d539ab04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- device/usb/usb.gyp.orig	2016-05-25 15:01:02.000000000 -0400
+++ device/usb/usb.gyp	2016-05-30 13:54:50.903083000 -0400
@@ -117,6 +117,16 @@
             'usb_service_impl.h',
           ]
         }],
+        ['OS == "freebsd"', {
+          'dependencies!': [
+            '../../third_party/libusb/libusb.gyp:libusb',
+          ],
+          'link_settings': {
+            'ldflags': [
+              '-L/usr/lib -lusb',
+            ],
+          },
+        }],
         ['chromeos==1', {
           'dependencies': [
             '../../chromeos/chromeos.gyp:chromeos',