diff --git a/tools/winlibs.R b/tools/winlibs.R index d12537f..e8d4751 100644 --- a/tools/winlibs.R +++ b/tools/winlibs.R @@ -2,6 +2,8 @@ if(!file.exists("../windows/poppler/include/poppler/cpp/poppler-document.h")){ unlink("../windows", recursive = TRUE) url <- if(grepl("aarch", R.version$platform)){ "https://github.com/r-windows/bundles/releases/download/poppler-23.08.0/poppler-23.08.0-clang-aarch64.tar.xz" + } else if(grepl("clang", Sys.getenv('R_COMPILED_BY'))){ + "https://github.com/r-windows/bundles/releases/download/poppler-23.08.0/poppler-23.08.0-clang-x86_64.tar.xz" } else if(getRversion() >= "4.3") { "https://github.com/r-windows/bundles/releases/download/poppler-23.08.0/poppler-23.08.0-ucrt-x86_64.tar.xz" } else {