We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a7a0fd1 + 5f730a3 commit d9e7ecbCopy full SHA for d9e7ecb
1 file changed
R/build.R
@@ -66,7 +66,7 @@ tbbLdFlags <- function() {
66
# on Windows and Solaris we need to explicitly link against tbb.dll
67
if ((Sys.info()['sysname'] %in% c("Windows", "SunOS")) && !isSparc()) {
68
tbb <- tbbLibPath()
69
- paste("-L", asBuildPath(dirname(tbb)), " -ltbb -ltbbmalloc", sep = "")
+ paste("-L", shQuote(asBuildPath(dirname(tbb))), " -ltbb -ltbbmalloc", sep = "")
70
} else if (dir.exists(Sys.getenv("TBB_LIB"))) {
71
TBB_LIB <- asBuildPath(Sys.getenv("TBB_LIB"))
72
paste0("-L", shQuote(TBB_LIB), " -Wl,-rpath,", TBB_LIB, " -ltbb -ltbbmalloc")
0 commit comments