Skip to content
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

Fix Windows build #27

Merged
merged 1 commit into from Feb 10, 2015
Merged

Fix Windows build #27

merged 1 commit into from Feb 10, 2015

Conversation

@klutzy
Copy link
Contributor

klutzy commented Feb 10, 2015

This patch fixes three issues on Windows:

  • Set $(CC) properly and pass it to js/src/configure.
  • Set dummy $(MOZ_TOOLS) since configure requires non-empty
    value.
  • Fix $(OUT_DIR) due to incompatibility between cargo (which uses
    Windows native path e.g. C:\path) and msys make (which uses
    /c/path).

With such modifications, it succeeded to build on Windows.
(Tested with: rustc 134e00be7 2015-02-09, cargo 9404539 2015-02-09)

This patch fixes three issues on Windows:

-   Set `$(CC)` properly and pass it to `js/src/configure`.
-   Set dummy `$(MOZ_TOOLS)` since `configure` requires non-empty
    value.
-   Fix `$(OUT_DIR)` due to incompatibility between cargo (which uses
    Windows native path e.g. `C:\path`) and msys make (which uses
    `/c/path`).

With such modifications, it succeeded to build on Windows.
(Tested with: rustc 134e00be7 2015-02-09, cargo 9404539 2015-02-09)
@jdm
Copy link
Member

jdm commented Feb 10, 2015

Looks good!

jdm added a commit that referenced this pull request Feb 10, 2015
@jdm jdm merged commit 7ce9713 into servo:rustup_2015-01-31 Feb 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.