Show More
@@ -1199,6 +1199,9 b' class RustExtension(Extension):' | |||
|
1199 | 1199 | if sys.version_info[0] == 3 and self.py3_features is not None: |
|
1200 | 1200 | cargocmd.extend(('--features', self.py3_features, |
|
1201 | 1201 | '--no-default-features')) |
|
1202 | if sys.platform == 'darwin': | |
|
1203 | env['RUSTFLAGS'] = ("-C link-arg=-undefined " | |
|
1204 | "-C link-arg=dynamic_lookup") | |
|
1202 | 1205 | try: |
|
1203 | 1206 | subprocess.check_call(cargocmd, env=env, cwd=self.rustsrcdir) |
|
1204 | 1207 | except OSError as exc: |
General Comments 0
You need to be logged in to leave comments.
Login now