Skip to content

Commit 635b3b1

Browse files
committed
Fix tbb-compat linking after rename
1 parent 11b6913 commit 635b3b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/install.libs.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@
7474
tbbDll <- file.path(tbbDest, "tbb.dll")
7575
if (!file.exists(tbbDll)) {
7676
writeLines("** creating tbb stub library")
77-
status <- system("R CMD SHLIB tbb-compat/tbb-compat.cpp")
77+
status <- system("R CMD SHLIB -o tbb-compat/tbb.dll tbb-compat/tbb-compat.cpp")
7878
if (status != 0)
7979
stop("error building tbb stub library")
80-
file.rename("tbb-compat/tbb-compat.dll", file.path(tbbDest, "tbb.dll"))
80+
file.copy("tbb-compat/tbb.dll", file.path(tbbDest, "tbb.dll"))
8181
}
8282
}
8383

0 commit comments

Comments
 (0)