From 5d28948934dc9219d6bdf3bba40056d6692e3255 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Wed, 24 Jan 2024 08:41:02 +0200 Subject: [PATCH] Wrong windows include --- R/utils.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/utils.R b/R/utils.R index 49296423..dcdc3d3e 100644 --- a/R/utils.R +++ b/R/utils.R @@ -754,7 +754,7 @@ with_cmdstan_flags <- function(expr) { new_makevars <- c( new_makevars, SHLIB_LD = paste0(rtools4x_toolchain_path(),"/gcc"), - LOCAL_CPPFLAGS = paste0("-L'",rtools4x_toolchain_path(),"/../include'"), + LOCAL_CPPFLAGS = paste0("-I'",rtools4x_toolchain_path(),"/../include'"), LOCAL_LIBS = paste0("-L'",rtools4x_toolchain_path(),"/../lib'") ) }