diff options
author | Ralf Gommers <ralf.gommers@gmail.com> | 2020-12-12 19:21:34 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-12 19:21:34 +0000 |
commit | 779613108f2d7a138bf20c8e6c82d9f98e2cde74 (patch) | |
tree | 3f33d04ec152607681b58012a5c6c325ff485b30 | |
parent | f1e479659566ab798bec511c97d32b0ab8b645c9 (diff) | |
parent | 1ccb4c6dbfa6194d1627885e39f81823bce44fc7 (diff) | |
download | numpy-779613108f2d7a138bf20c8e6c82d9f98e2cde74.tar.gz |
Merge pull request #17906 from fxcoudert/patch-1
BUG: Fix a MacOS build failure
-rw-r--r-- | numpy/distutils/fcompiler/gnu.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/fcompiler/gnu.py b/numpy/distutils/fcompiler/gnu.py index 0d9d769c2..68d1501ee 100644 --- a/numpy/distutils/fcompiler/gnu.py +++ b/numpy/distutils/fcompiler/gnu.py @@ -126,7 +126,7 @@ class GnuFCompiler(FCompiler): 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") |