diff options
| author | Kai Luo <lkail@cn.ibm.com> | 2023-03-28 10:59:45 +0800 |
|---|---|---|
| committer | Kai Luo <lkail@cn.ibm.com> | 2023-03-28 10:59:45 +0800 |
| commit | b56fcb173bbf5ae0a52f26362639b7f2b922e7e9 (patch) | |
| tree | cfb30f3c7afb62467c0e99d7889a3501ae98aea7 | |
| parent | 35726e909d44f41e090ac22e626bb4fa0e68afdb (diff) | |
| download | rust-b56fcb173bbf5ae0a52f26362639b7f2b922e7e9.tar.gz rust-b56fcb173bbf5ae0a52f26362639b7f2b922e7e9.zip | |
Set LIBPATH
| -rw-r--r-- | src/bootstrap/bootstrap.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index 013d1ab525b..d12781cc33a 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -741,6 +741,9 @@ class RustBuild(object): env["LIBRARY_PATH"] = os.path.join(self.bin_root(), "lib") + \ (os.pathsep + env["LIBRARY_PATH"]) \ if "LIBRARY_PATH" in env else "" + env["LIBPATH"] = os.path.join(self.bin_root(), "lib") + \ + (os.pathsep + env["LIBPATH"]) \ + if "LIBPATH" in env else "" # Export Stage0 snapshot compiler related env variables build_section = "target.{}".format(self.build) |
