##// END OF EJS Templates
rust-cpython: fix build for MacOSX...
Georges Racinet -
r42658:8ee0fdf3 default
parent child Browse files
Show More
@@ -1199,6 +1199,9 b' class RustExtension(Extension):'
1199 if sys.version_info[0] == 3 and self.py3_features is not None:
1199 if sys.version_info[0] == 3 and self.py3_features is not None:
1200 cargocmd.extend(('--features', self.py3_features,
1200 cargocmd.extend(('--features', self.py3_features,
1201 '--no-default-features'))
1201 '--no-default-features'))
1202 if sys.platform == 'darwin':
1203 env['RUSTFLAGS'] = ("-C link-arg=-undefined "
1204 "-C link-arg=dynamic_lookup")
1202 try:
1205 try:
1203 subprocess.check_call(cargocmd, env=env, cwd=self.rustsrcdir)
1206 subprocess.check_call(cargocmd, env=env, cwd=self.rustsrcdir)
1204 except OSError as exc:
1207 except OSError as exc:
General Comments 0
You need to be logged in to leave comments. Login now