Do not build for i386 and drop unavailable dep on s390x
This commit is contained in:
parent
82c2ac0d3a
commit
a5d4279563
2 changed files with 14 additions and 1 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import platform
|
||||
|
||||
def customize_build(EXTENSIONS, OPTIONS):
|
||||
"""Customize build for Fedora"""
|
||||
|
||||
|
|
@ -27,3 +29,6 @@ def customize_build(EXTENSIONS, OPTIONS):
|
|||
del EXTENSIONS['jpeg2k'] # Uses 3rdparty source to use private function - https://github.com/cgohlke/imagecodecs/issues/77
|
||||
EXTENSIONS['jpegxr']['include_dirs'].append('/usr/include/jxrlib')
|
||||
EXTENSIONS['zopfli']['include_dirs'].append('/usr/include/zopfli')
|
||||
|
||||
if platform.machine() == 's390x':
|
||||
del EXTENSIONS['lzfse'] # Not supported on big-endian
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue