diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2011-08-17 06:12:09 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2011-08-17 07:50:58 +0200 |
commit | 0f077a78ad3cc43e847bbd7d797b923d8bf8ea5c (patch) | |
tree | df4edd4915d3302c369e80167d25e1f887466907 /tools | |
parent | 1e7a0aa8837dd9244a4941560b2a20da1b4aa60d (diff) | |
download | node-new-0f077a78ad3cc43e847bbd7d797b923d8bf8ea5c.tar.gz |
gyp: add freebsd support
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gyp/pylib/gyp/generator/make.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/gyp/pylib/gyp/generator/make.py b/tools/gyp/pylib/gyp/generator/make.py index d41da6a86e..eded5ac0af 100644 --- a/tools/gyp/pylib/gyp/generator/make.py +++ b/tools/gyp/pylib/gyp/generator/make.py @@ -64,6 +64,8 @@ def GetFlavor(params): flavors = { 'darwin': 'mac', 'sunos5': 'solaris', + 'freebsd7': 'freebsd', + 'freebsd8': 'freebsd', } flavor = flavors.get(sys.platform, 'linux') return params.get('flavor', flavor) @@ -2532,6 +2534,10 @@ def GenerateOutput(target_list, target_dicts, data, params): 'flock_index': 2, 'extra_commands': SHARED_HEADER_SUN_COMMANDS, }) + elif flavor == 'freebsd': + header_params.update({ + 'flock': 'lockf', + }) if flavor == 'android': header_params.update({ |