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 d1162e3 commit a172de3Copy full SHA for a172de3
src/Makevars.win
@@ -10,10 +10,12 @@ PKG_LIBS = -L$(LIBDIR) -lmyrustlib -lws2_32 -ladvapi32 -luserenv -ldbghelp -lbcr
10
11
# This bypasses the exception stuff
12
#export CARGO_TARGET_I686_PC_WINDOWS_GNU_RUSTFLAGS=-C panic=abort
13
-export CARGO_TARGET_X86_64_PC_WINDOWS_GNU_LINKER=gcc
14
ifeq ($(R_COMPILED_BY),gcc 8.3.0)
15
GCCPATH=$(subst C:\,/c/,$(RTOOLS40_HOME))/mingw$(WIN)/bin
+export CARGO_TARGET_X86_64_PC_WINDOWS_GNU_LINKER=$(RTOOLS40_HOME)\\mingw64\\bin\\gcc
16
+export CARGO_TARGET_I686_PC_WINDOWS_GNU_LINKER=$(RTOOLS40_HOME)\\\mingw32\\bin\\gcc
17
else
18
+export CARGO_TARGET_X86_64_PC_WINDOWS_GNU_LINKER=gcc
19
GCCPATH=$(subst C:\,/c/,$(RTOOLS43_HOME))/x86_64-w64-mingw32.static.posix/bin
20
endif
21
0 commit comments