summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third_party__libusb__libusb.gyp
blob: 1f2dec9b49d409e674f5d436fd509193b525ffad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- ./third_party/libusb/libusb.gyp.orig	2014-04-30 22:43:13.000000000 +0200
+++ ./third_party/libusb/libusb.gyp	2014-05-04 14:38:48.000000000 +0200
@@ -93,6 +93,19 @@
           ],
           'msvs_disabled_warnings': [ 4267 ],
         }],
+        ['OS == "freebsd"', {
+          'type': 'none',
+          'sources/': [
+            ['exclude', '^src/libusb/'],
+          ],
+          'direct_dependent_settings': {
+            'link_settings': {
+              'libraries': [
+                '-lusb',
+              ],
+            },
+          },
+        }],
       ],
     },
   ],