gyp: add sunos config section

This commit is contained in:
Ben Noordhuis 2011-09-01 01:14:33 +00:00
parent 2f2223f2b2
commit 9bd8bd7945

14
uv.gyp
View File

@ -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' ],
},
}],
]
},