Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: support dual-build with node-gyp and node-waf
Now newer versions of npm that include node-gyp will use that to build, and older versions of npm will use node-waf to build. Win-win!
- Loading branch information
1 parent
73adc11
commit 80054db
Showing
2 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
'targets': [ | ||
{ | ||
'target_name': 'kstat', | ||
'sources': [ 'kstat.cc' ], | ||
'libraries': [ '-lkstat' ], | ||
'cflags_cc': [ '-Wno-write-strings' ], | ||
'cflags_cc!': [ '-fno-exceptions' ], | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters