diff options
| author | Jessica Hamilton <jessica.l.hamilton@gmail.com> | 2017-04-24 14:21:36 +0000 |
|---|---|---|
| committer | Jessica Hamilton <jessica.l.hamilton@gmail.com> | 2017-04-24 14:29:39 +0000 |
| commit | 0d63f13378f8d8625a439ecbb36b3f97d0d2263d (patch) | |
| tree | c9f762e570733352c668166dae00aece6e0c5737 /src/bootstrap/bootstrap.py | |
| parent | e1afddc29c7a056f855c0523e598c3bda42f4aea (diff) | |
Haiku: add missing cases of using LIBRARY_PATH
Diffstat (limited to 'src/bootstrap/bootstrap.py')
| -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 3233a73b007..55622c6b81b 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -367,6 +367,9 @@ class RustBuild(object): env["DYLD_LIBRARY_PATH"] = os.path.join(self.bin_root(), "lib") + \ (os.pathsep + env["DYLD_LIBRARY_PATH"]) \ if "DYLD_LIBRARY_PATH" in env else "" + env["LIBRARY_PATH"] = os.path.join(self.bin_root(), "lib") + \ + (os.pathsep + env["LIBRARY_PATH"]) \ + if "LIBRARY_PATH" in env else "" env["PATH"] = os.path.join(self.bin_root(), "bin") + \ os.pathsep + env["PATH"] if not os.path.isfile(self.cargo()): |
