diff options
author | Gary Kramlich <grim@reaperworld.com> | 2013-05-25 09:46:36 (GMT) |
---|---|---|
committer | Gary Kramlich <grim@reaperworld.com> | 2013-05-25 09:46:36 (GMT) |
commit | 0464524f60bd1e823cb1da889cd5a35e2ab4cc59 (patch) | |
tree | a5e5a2f0755880896b0be167a94b34d041b506b0 /platform_helper.py | |
parent | cc47bfb1ce599f4b3f20679d96e258bb595c2dc3 (diff) | |
download | Ninja-0464524f60bd1e823cb1da889cd5a35e2ab4cc59.zip Ninja-0464524f60bd1e823cb1da889cd5a35e2ab4cc59.tar.gz Ninja-0464524f60bd1e823cb1da889cd5a35e2ab4cc59.tar.bz2 |
Fixed the build on Debian/kfreebsd
Diffstat (limited to 'platform_helper.py')
-rw-r--r-- | platform_helper.py | 4 |
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'): |