summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third_party__libusb__libusb.gyp
blob: ceeeadb3d9c150ff9fa8c0ee59f030d5feae57c1 (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	2013-06-19 01:35:24.000000000 +0000
+++ third_party/libusb/libusb.gyp	2013-06-24 21:04:31.000000000 +0000
@@ -67,6 +67,19 @@
             '_GNU_SOURCE=1',
           ],
         }],
+        ['OS == "freebsd"', {
+          'type': 'none',
+          'sources/': [
+            ['exclude', '^src/libusb/'],
+          ],
+          'direct_dependent_settings': {
+            'link_settings': {
+              'libraries': [
+                '-lusb',
+              ],
+            },
+          },
+        }],
       ],
     },
   ],