Skip to content

Commit

Permalink
set MACOSX_DEPLOYMENT_TARGET=10.9 when building skia on mac
Browse files Browse the repository at this point in the history
in an attempt to fix fonttools/skia-pathops#41
  • Loading branch information
anthrotype committed Feb 8, 2021
1 parent e6f5133 commit 3641fe7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build_skia.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ def _split_archive_base_and_format(parser, fname):
else:
env = os.environ.copy()

# https://github.com/fonttools/skia-pathops/issues/41
if sys.platform == "darwin":
env["MACOSX_DEPLOYMENT_TARGET"] = "10.9"

if args.sync_deps:
subprocess.check_call(
["python", os.path.join("tools", "git-sync-deps")],
Expand Down

0 comments on commit 3641fe7

Please sign in to comment.