File tree 2 files changed +13
-4
lines changed
2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
'variables' : {
3
- 'deps_path%' : '..'
3
+ 'deps_path%' : '..' ,
4
+ 'host_platform%' : 'none' ,
5
+ 'platform_libs%' : '' ,
6
+ 'conditions' : [
7
+ ['host_platform=="tizen"' , {
8
+ 'platform_libs' : 'dlog'
9
+ }],
10
+ ],
4
11
},
5
12
'targets' : [
6
13
{
7
14
'target_name' : 'glib' ,
8
15
'type' : '<(library)' ,
9
16
'dependencies' : [ '<(deps_path)/uv/uv.gyp:libuv' ],
10
17
'cflags' : [
11
- '<!@(pkg-config --cflags glib-2.0)' ,
18
+ '<!@(pkg-config --cflags glib-2.0 <(platform_libs) )' ,
12
19
],
13
20
'include_dirs' : [
14
21
'src' ,
21
28
'ENABLE_NODE_BINDINGS'
22
29
],
23
30
'cflags' : [
24
- '<!@(pkg-config --cflags glib-2.0)' ,
31
+ '<!@(pkg-config --cflags glib-2.0 <(platform_libs) )' ,
25
32
],
26
33
'libraries' : [
27
- '<!@(pkg-config --libs glib-2.0)' ,
34
+ '<!@(pkg-config --libs glib-2.0 <(platform_libs) )' ,
28
35
],
29
36
'include_dirs' : [
30
37
'src' ,
Original file line number Diff line number Diff line change @@ -4331,8 +4331,10 @@ int Start(int argc, char** argv) {
4331
4331
4332
4332
CHECK_GT (argc, 0 );
4333
4333
4334
+ #if !defined(HOST_TIZEN)
4334
4335
// Hack around with the argv pointer. Used for process.title = "blah".
4335
4336
argv = uv_setup_args (argc, argv);
4337
+ #endif
4336
4338
4337
4339
// This needs to run *before* V8::Initialize(). The const_cast is not
4338
4340
// optional, in case you're wondering.
You can’t perform that action at this time.
0 commit comments