Skip to content

Commit

Permalink
Merge pull request numpy#18016 from charris/backport-17906
Browse files Browse the repository at this point in the history
BUG: Fix a MacOS build failure
  • Loading branch information
charris committed Dec 18, 2020
2 parents 63c78f2 + a91f531 commit 91ab008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/distutils/fcompiler/gnu.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def get_flags_linker_so(self):
target = '10.9'
s = f'Env. variable MACOSX_DEPLOYMENT_TARGET set to {target}'
warnings.warn(s, stacklevel=2)
os.environ['MACOSX_DEPLOYMENT_TARGET'] = target
os.environ['MACOSX_DEPLOYMENT_TARGET'] = str(target)
opt.extend(['-undefined', 'dynamic_lookup', '-bundle'])
else:
opt.append("-shared")
Expand Down

0 comments on commit 91ab008

Please sign in to comment.