We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 797f5d9 commit f964322Copy full SHA for f964322
src/Makevars.win
@@ -13,8 +13,9 @@ PKG_LIBS = -L$(LIBDIR) -lmyrustlib -lws2_32 -ladvapi32 -luserenv -ldbghelp -lbcr
13
ifeq ($(R_COMPILED_BY),gcc 8.3.0)
14
GCCPATH=$(subst C:\,/c/,$(RTOOLS40_HOME))/mingw$(WIN)/bin
15
else
16
+# Either rtools40 or rtools42 ucrt toolchain is OK
17
+GCCPATH=$(subst C:\,/c/,$(RTOOLS40_HOME))/ucrt64/bin:$(R_RTOOLS42_PATH)
18
export CARGO_TARGET_X86_64_PC_WINDOWS_GNU_LINKER=gcc
-GCCPATH=$(subst C:\,/c/,$(RTOOLS42_HOME))/x86_64-w64-mingw32.static.posix/bin
19
endif
20
21
all: clean rustup
0 commit comments