summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Kramlich <grim@reaperworld.com>2013-05-25 09:46:36 (GMT)
committerGary Kramlich <grim@reaperworld.com>2013-05-25 09:46:36 (GMT)
commit0464524f60bd1e823cb1da889cd5a35e2ab4cc59 (patch)
treea5e5a2f0755880896b0be167a94b34d041b506b0
parentcc47bfb1ce599f4b3f20679d96e258bb595c2dc3 (diff)
downloadNinja-0464524f60bd1e823cb1da889cd5a35e2ab4cc59.zip
Ninja-0464524f60bd1e823cb1da889cd5a35e2ab4cc59.tar.gz
Ninja-0464524f60bd1e823cb1da889cd5a35e2ab4cc59.tar.bz2
Fixed the build 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'):