Make addon building work for Cygwin.

This commit is contained in:
Brian McKenna authored and Ryan Dahl committed 2010-06-11 13:25:03 -07:00
1 parent 94be898fbc
commit 431e72cbe8
2 files changed
+9

No files matched your search

+3
View File
@@ -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')