Skip to content

Commit 5710aad

Browse files
committed
install into lib dir
1 parent fec4181 commit 5710aad

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

R/tbb.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dllInfo <- NULL
1414
ext = ".dll"
1515
else
1616
ext = .Platform$dynlib.ext
17-
dll <- system.file(paste("libs/libtbb", ext, sep = ""), package = "tbb")
17+
dll <- system.file(paste("lib/libtbb", ext, sep = ""), package = "tbb")
1818
dllInfo <<- dyn.load(dll, local = FALSE, now = TRUE)
1919

2020
# load the tbb package library

inst/.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
tbb/
2-
libs
1+
lib/

src/Makevars

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ all: $(SHLIB)
77
$(SHLIB): tbb
88

99
tbb:
10-
mkdir -p ../inst/libs
10+
mkdir -p ../inst/lib
1111
(cd tbb/src; make tbb_release tbb_build_prefix=lib)
12-
cp tbb/build/lib_release/libtbb.* ../inst/libs
12+
cp tbb/build/lib_release/libtbb.* ../inst/lib
1313

0 commit comments

Comments
 (0)