summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2013-05-29 03:18:03 (GMT)
committerEvan Martin <martine@danga.com>2013-05-29 03:18:03 (GMT)
commitaf7c76cf64539ea51ae86c2dbc77cc45ccc79a46 (patch)
tree2810fcae8c8a3a40c31f935583c7827be54dc234
parentc460635bd2f796b8473b1c7372d7b1e2281ac750 (diff)
parent0464524f60bd1e823cb1da889cd5a35e2ab4cc59 (diff)
downloadNinja-af7c76cf64539ea51ae86c2dbc77cc45ccc79a46.zip
Ninja-af7c76cf64539ea51ae86c2dbc77cc45ccc79a46.tar.gz
Ninja-af7c76cf64539ea51ae86c2dbc77cc45ccc79a46.tar.bz2
Merge pull request #586 from grimmy/master
Build fails on Debian/kfreebsd
-rw-r--r--platform_helper.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/platform_helper.py b/platform_helper.py
index 97827c3..5097f49 100644
--- a/platform_helper.py
+++ b/platform_helper.py
@@ -19,7 +19,7 @@ import sys
def platforms():
return ['linux', 'darwin', 'freebsd', 'openbsd', 'solaris', 'sunos5',
- 'mingw', 'msvc']
+ 'mingw', 'msvc', 'gnukfreebsd8']
class Platform( object ):
def __init__( self, platform):
@@ -31,6 +31,8 @@ class Platform( object ):
self._platform = 'linux'
elif self._platform.startswith('freebsd'):
self._platform = 'freebsd'
+ elif self._platform.startswith('gnukfreebsd8'):
+ self._platform = 'freebsd'
elif self._platform.startswith('openbsd'):
self._platform = 'openbsd'
elif self._platform.startswith('solaris'):