8000 Add minimum macosx version · matplotlib/matplotlib@25bf65b · GitHub
[go: up one dir, main page]

Skip to content

Commit 25bf65b

Browse files
committed
Add minimum macosx version
1 parent 45bddd4 commit 25bf65b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setupext.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,8 +731,8 @@ def get_extensions(self):
731731
'matplotlib.backends._macosx', [
732732
'src/_macosx.m'
733733
])
734-
ext.extra_compile_args.extend(['-Werror'])
735-
ext.extra_link_args.extend(['-framework', 'Cocoa'])
734+
ext.extra_compile_args.extend(['-Werror', '-mmacosx-version-min=10.12'])
735+
ext.extra_link_args.extend(['-framework', 'Cocoa', '-mmacosx-version-min=10.12'])
736736
if platform.python_implementation().lower() == 'pypy':
737737
ext.extra_compile_args.append('-DPYPY=1')
738738
yield ext

0 commit comments

Comments
 (0)
0