8000 Backport PR #23511: supporting IBM i OS · meeseeksmachine/matplotlib@f99fd34 · GitHub
[go: up one dir, main page]

Skip to content

Commit f99fd34

Browse files
QuLogicmeeseeksmachine
authored andcommitted
Backport PR matplotlib#23511: supporting IBM i OS
1 parent 4ee298b commit f99fd34

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

setupext.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,12 @@ def get_and_extract_tarball(urls, sha, dirname):
197197
options = {
198198
'backend': config.get('rc_options', 'backend', fallback=None),
199199
'system_freetype': config.getboolean(
200-
'libs', 'system_freetype', fallback=sys.platform.startswith('aix')),
200+
'libs', 'system_freetype',
201+
fallback=sys.platform.startswith(('aix', 'os400'))
202+
),
201203
'system_qhull': config.getboolean(
202-
'libs', 'system_qhull', fallback=False),
204+
'libs', 'system_qhull', fallback=sys.platform.startswith('os400')
205+
),
203206
}
204207

205208

0 commit comments

Comments
 (0)
0