Skip to content

Commit 3cba1e2

Browse files
committed
Support setting link lib only
1 parent 4b3f033 commit 3cba1e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/tbb.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ tbbCxxFlags <- function() {
7575
tbbLdFlags<-function() {
7676

7777
# shortcut if TBB_LIB defined
78-
tbbLib<- Sys.getenv("TBB_LIB", unset=TBB_LIB)
78+
tbbLib<- Sys.getenv("TBB_LINK_LIB", Sys.getenv("TBB_LIB", unset=TBB_LIB))
7979
if (nzchar(tbbLib)) {
8080
fmt<-"-L%1$s -Wl,-rpath,%1$s -ltbb -ltbbmalloc"
8181
return(sprintf(fmt, asBuildPath(tbbLib)))

0 commit comments

Comments
 (0)
close