Skip to content

Commit 8d26191

Browse files
committed
Update PKG_LIBS if TBB_LIB is defined
1 parent 1622cf9 commit 8d26191

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Makevars.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ PKG_CPPFLAGS = -I../inst/include
88
endif
99

1010
ifdef TBB_LIB
11-
PKG_LIBS = -L$(TBB_LIB) -ltbb
11+
PKG_LIBS = -Wl,-L,"$(TBB_LIB)" -Wl,-rpath,"$(TBB_LIB)" -ltbb -ltbbmalloc
1212
endif
1313

1414
ifeq ($(OS), Windows_NT)

0 commit comments

Comments
 (0)