diff --git a/inst/tools/build.R b/inst/tools/build.R index 7652dba..bd41d5f 100644 --- a/inst/tools/build.R +++ b/inst/tools/build.R @@ -3,7 +3,8 @@ if (!dir.exists("data")) { } .in <- suppressWarnings(readLines("src/Makevars.in")) -if (.Platform$OS.type == "windows" && !file.exists("src/Makevars.win")) { +if (.Platform$OS.type == "windows" && !file.exists("src/Makevars.win") || + (R.version$os == "linux-musl")) { file.out <- file("src/Makevars.win", "wb") writeLines(.in, file.out) close(file.out)