Index third_party boost boost gyp --- third_party boost boost gyp revi

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Index: third_party/boost/boost.gyp
===================================================================
--- third_party/boost/boost.gyp (revision 9315)
+++ third_party/boost/boost.gyp (working copy)
@@ -17,7 +17,21 @@
'.',
],
+ 'conditions': [
+ ['component=="shared_library"', {
+ 'defines': [
+ 'BOOST_SYSTEM_DYN_LINK',
+ ],
+ }, {
+ 'defines': [
+ 'BOOST_SYSTEM_STATIC_LINK',
+ ],
+ }],
+ ], # conditions
+
'sources': [
+ 'boost/system/config.hpp',
+ 'boost/system/error_code.hpp',
'libs/system/src/error_code.cpp',
],
}, # target boost
Index: torch_torrent_wrapper/torchtorrentwrapper.gyp
===================================================================
--- torch_torrent_wrapper/torchtorrentwrapper.gyp (revision 9315)
+++ torch_torrent_wrapper/torchtorrentwrapper.gyp (working copy)
@@ -6,6 +6,7 @@
'dependencies': [
'../base/base.gyp:base',
+ '../third_party/boost/boost.gyp:*',
'../third_party/libtorrent/libtorrent.gyp:*',
],