1
Fork 0

Rollup merge of #41456 - jessicah:haiku-support, r=alexcrichton

Haiku: fix initial platform support
This commit is contained in:
Ariel Ben-Yehuda 2017-04-26 22:11:03 +00:00 committed by GitHub
commit 639000ea2e
7 changed files with 14 additions and 1 deletions

View file

@ -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()):