| def _build_env(self): | |
| env = os.environ.copy() | |
| ldflags = env.get("LDFLAGS") | |
| if ldflags: | |
| rustflags = '= -C link-args="{}"'.format(ldflags) | |
| else: | |
| rustflags = "" | |
| env.update({"RUSTC": self._rustc, | |
| "RUSTDOC": self._rustdoc, | |
| "RUST_PATH": self._rustlib, | |
| 'RUSTFLAGS': rustflags}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment