gyp: add sunos config section
This commit is contained in:
parent
2f2223f2b2
commit
9bd8bd7945
14
uv.gyp
14
uv.gyp
@ -210,7 +210,19 @@
|
||||
'libraries': [ '-lrt' ],
|
||||
},
|
||||
}],
|
||||
# TODO add OS=='sun'
|
||||
[ 'OS=="solaris"', {
|
||||
'include_dirs': [ 'src/ares/config_sunos' ],
|
||||
'sources': [ 'src/unix/sunos.c' ],
|
||||
'defines': [
|
||||
'__EXTENSIONS__',
|
||||
'_XOPEN_SOURCE=500',
|
||||
'EV_CONFIG_H="config_sunos.h"',
|
||||
'EIO_CONFIG_H="config_sunos.h"',
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'libraries': [ '-lrt' ],
|
||||
},
|
||||
}],
|
||||
]
|
||||
},
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user