mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
Make addon building work for Cygwin.
This commit is contained in:
1 parent
94be898fbc
commit
431e72cbe8
2 files changed
+9
No files matched your search
@@ -41,6 +41,9 @@ def detect(conf):
|
||||
found = os.path.exists(join(prefix, "bin/node"))
|
||||
conf.check_message('node prefix', '', found, prefix)
|
||||
|
||||
## On Cygwin we need to link to the generated symbol definitions
|
||||
if Options.platform.startswith('cygwin'): conf.env['LIB_NODE'] = 'node'
|
||||
|
||||
## On Mac OSX we need to use mac bundles
|
||||
if Options.platform == 'darwin': conf.check_tool('osx')
|
||||
|
||||
Reference in new issue
Block a user