Skip to content

Fix Windows build - #27

Merged
jdm merged 1 commit into
servo:rustup_2015-01-31from
klutzy:winfix
Feb 10, 2015
Merged

jdm merged 1 commit into
servo:rustup_2015-01-31from
klutzy:winfix

Conversation

@klutzy

@klutzy klutzy commented Feb 10, 2015

Copy link
Copy Markdown
Contributor

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

jdm commented Feb 10, 2015

Copy link
Copy Markdown
Member

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
sagudev pushed a commit to sagudev/mozjs that referenced this pull request Mar 4, 2024
Check from artifact as well
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.

2 participants