Skip to content

install: Correct libdir for Windows installs. #15087

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 3, 2014

Conversation

iliekturtles
Copy link
Contributor

Short-term fix per @brson's comment: #13810 (comment). Tested on Win7 x64 and Linux.

One possible issue is that install.sh doesn't have a need_cmd definition like configure does. Should this be ported over as well?

Platform-detection code from configure copied over to install.sh in
order to special case the lib dir being bin on Windows instead of
lib.

Short-term fix for #13810.

@brson
Copy link
Contributor

brson commented Jul 2, 2014

@iliekturtles Thanks for fixing this, and sorry for the delay reviewing. This looks great to me, but as you say, the lack of the check for uname is a little wart. Do you mind updating it to port over the need_cmd function and add the check for uname?

@iliekturtles
Copy link
Contributor Author

@brson I'll do that, though it may take me a day or two to get to.

@brson
Copy link
Contributor

brson commented Jul 2, 2014

@iliekturtles Thank you!

Platform-detection code from `configure` copied over to `install.sh`
in order to special case the lib dir being `bin` on Windows instead
of `lib`.

Short-term fix for rust-lang#13810.
@iliekturtles
Copy link
Contributor Author

need_cmd and calls for all the programs used in install.sh ported over.

bors added a commit that referenced this pull request Jul 3, 2014
…r=brson

Short-term fix per @brson's comment: #13810 (comment). Tested on Win7 x64 and Linux.

One possible issue is that `install.sh` doesn't have a `need_cmd` definition like `configure` does. Should this be ported over as well?

Platform-detection code from `configure` copied over to `install.sh` in
order to special case the lib dir being `bin` on Windows instead of
`lib`.

Short-term fix for #13810.
@bors bors closed this Jul 3, 2014
@bors bors merged commit ccd7aaf into rust-lang:master Jul 3, 2014
@iliekturtles iliekturtles deleted the 13810-make-install-mingw32 branch July 3, 2014 16:30
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 17, 2023
internal: use consistent style for error handling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants