Skip to content

Commit d9e7ecb

Browse files
authored
Merge pull request #155 from hsbadr/develop
LDFLAGS: Quote TBB library path
2 parents a7a0fd1 + 5f730a3 commit d9e7ecb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/build.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ tbbLdFlags <- function() {
6666
# on Windows and Solaris we need to explicitly link against tbb.dll
6767
if ((Sys.info()['sysname'] %in% c("Windows", "SunOS")) && !isSparc()) {
6868
tbb <- tbbLibPath()
69-
paste("-L", asBuildPath(dirname(tbb)), " -ltbb -ltbbmalloc", sep = "")
69+
paste("-L", shQuote(asBuildPath(dirname(tbb))), " -ltbb -ltbbmalloc", sep = "")
7070
} else if (dir.exists(Sys.getenv("TBB_LIB"))) {
7171
TBB_LIB <- asBuildPath(Sys.getenv("TBB_LIB"))
7272
paste0("-L", shQuote(TBB_LIB), " -Wl,-rpath,", TBB_LIB, " -ltbb -ltbbmalloc")

0 commit comments

Comments
 (0)