Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit af7c76c

Browse files
committed
Merge pull request ninja-build#586 from grimmy/master
Build fails on Debian/kfreebsd
2 parents c460635 + 0464524 commit af7c76c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

platform_helper.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
def platforms():
2121
return ['linux', 'darwin', 'freebsd', 'openbsd', 'solaris', 'sunos5',
22-
'mingw', 'msvc']
22+
'mingw', 'msvc', 'gnukfreebsd8']
2323

2424
class Platform( object ):
2525
def __init__( self, platform):
@@ -31,6 +31,8 @@ def __init__( self, platform):
3131
self._platform = 'linux'
3232
elif self._platform.startswith('freebsd'):
3333
self._platform = 'freebsd'
34+
elif self._platform.startswith('gnukfreebsd8'):
35+
self._platform = 'freebsd'
3436
elif self._platform.startswith('openbsd'):
3537
self._platform = 'openbsd'
3638
elif self._platform.startswith('solaris'):

0 commit comments

Comments
 (0)