Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

sunos: fix gyp build

  • Loading branch information...
bnoordhuis committed Oct 2, 2011
1 parent 914a6fa commit 6221904013b01e94440358502540e1f89d695045
Showing with 12 additions and 3 deletions.
  1. +1 −1 test/test-fs.c
  2. +11 −2 uv.gyp
@@ -1260,4 +1260,4 @@ TEST_IMPL(fs_stat_missing_path) {
uv_fs_req_cleanup(&req);

return 0;
}
}
13 uv.gyp
@@ -215,7 +215,10 @@
'EIO_CONFIG_H="config_sunos.h"',
],
'direct_dependent_settings': {
'libraries': [ '-lrt' ],
'libraries': [
'-lsocket',
'-lnsl',
],
},
}],
[ 'OS=="freebsd"', {
@@ -287,7 +290,13 @@
'test/runner-unix.c',
'test/runner-unix.h',
]
}]
}],
[ 'OS=="solaris"', { # make test-fs.c compile, needs _POSIX_C_SOURCE
'defines': [
'__EXTENSIONS__',
'_XOPEN_SOURCE=500',
],
}],
],
'msvs-settings': {
'VCLinkerTool': {

0 comments on commit 6221904

Please sign in to comment.
You can’t perform that action at this time.