mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-02 04:03:44 +02:00
Haiku is unix from now, hail to Haiku!
This commit is contained in:
parent
dd649edea9
commit
7c90ef80d0
1 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@
|
|||
from collections import namedtuple
|
||||
|
||||
from setup import Command, islinux, isbsd, isosx, ishaiku, SRC, iswindows, __version__
|
||||
isunix = islinux or isosx or isbsd
|
||||
isunix = islinux or isosx or isbsd or ishaiku
|
||||
|
||||
py_lib = os.path.join(sys.prefix, 'libs', 'python%d%d.lib' % sys.version_info[:2])
|
||||
|
||||
|
|
@ -81,7 +81,7 @@ def is_ext_allowed(ext):
|
|||
only = ext.get('only', '')
|
||||
if only:
|
||||
only = only.split()
|
||||
q = 'windows' if iswindows else 'osx' if isosx else 'bsd' if isbsd else 'linux'
|
||||
q = 'windows' if iswindows else 'osx' if isosx else 'bsd' if isbsd else 'haiku' if ishaiku else 'linux'
|
||||
return q in only
|
||||
return True
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue