summaryrefslogtreecommitdiff
path: root/numpy/distutils/fcompiler
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2020-12-12 19:21:34 +0000
committerGitHub <noreply@github.com>2020-12-12 19:21:34 +0000
commit779613108f2d7a138bf20c8e6c82d9f98e2cde74 (patch)
tree3f33d04ec152607681b58012a5c6c325ff485b30 /numpy/distutils/fcompiler
parentf1e479659566ab798bec511c97d32b0ab8b645c9 (diff)
parent1ccb4c6dbfa6194d1627885e39f81823bce44fc7 (diff)
downloadnumpy-779613108f2d7a138bf20c8e6c82d9f98e2cde74.tar.gz
Merge pull request #17906 from fxcoudert/patch-1
BUG: Fix a MacOS build failure
Diffstat (limited to 'numpy/distutils/fcompiler')
-rw-r--r--numpy/distutils/fcompiler/gnu.py2
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")