summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third_party__libusb__libusb.gyp
blob: 15c4e3b1347e6d52af31972d55033b990f9bea49 (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-24 22:35:57.000000000 +0200
+++ ./third_party/libusb/libusb.gyp	2014-04-24 23:23: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',
+              ],
+            },
+          },
+        }],
       ],
     },
   ],