Skip to content

Commit

Permalink
Add apline linux fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Nov 21, 2024
1 parent 2e7ca68 commit 7551076
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion inst/tools/workaround.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ for (f in c("src/RcppExports.cpp")) {
}
}

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")) {
writeLines(gsub("@ISYSTEM@", "I",
gsub("@CXX14STD@", "CXX14STD = -std=c++1y",
suppressWarnings(readLines("src/Makevars.in")))),
Expand Down

0 comments on commit 7551076

Please sign in to comment.