We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11b6913 commit 635b3b1Copy full SHA for 635b3b1
src/install.libs.R
@@ -74,10 +74,10 @@
74
tbbDll <- file.path(tbbDest, "tbb.dll")
75
if (!file.exists(tbbDll)) {
76
writeLines("** creating tbb stub library")
77
- status <- system("R CMD SHLIB tbb-compat/tbb-compat.cpp")
+ status <- system("R CMD SHLIB -o tbb-compat/tbb.dll tbb-compat/tbb-compat.cpp")
78
if (status != 0)
79
stop("error building tbb stub library")
80
- file.rename("tbb-compat/tbb-compat.dll", file.path(tbbDest, "tbb.dll"))
+ file.copy("tbb-compat/tbb.dll", file.path(tbbDest, "tbb.dll"))
81
}
82
83
0 commit comments