We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a49f2b commit 797f5d9Copy full SHA for 797f5d9
src/Makevars.win
@@ -22,7 +22,9 @@ all: clean rustup
22
$(SHLIB): $(STATLIB)
23
24
$(STATLIB):
25
- mkdir -p myrustlib/target/release/deps; echo '!<arch>' > myrustlib/target/release/deps/libgcc_eh.a #hack for mxe-rtools42
+ifeq ($(WIN),64) #hack for mxe-rtools42
26
+ mkdir -p myrustlib/target/release/deps; echo '!<arch>' > myrustlib/target/release/deps/libgcc_eh.a
27
+endif
28
PATH="$(GCCPATH):$(USERPROFILE)\.cargo:$(PATH)" cargo build --target=$(TARGET) --release --manifest-path=myrustlib/Cargo.toml
29
30
clean:
0 commit comments