We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0950041 commit 65f3d8dCopy full SHA for 65f3d8d
tools/config/configure.R
@@ -247,6 +247,15 @@ pkgLibs <- if (!is.na(tbbLib)) {
247
248
}
249
250
+# on Windows, we may need to link to ssp; otherwise,
251
+# we see errors like
252
+#
253
+# C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x86_64-w64-mingw32.static.posix/lib/libtbb12.a(allocator.cpp.obj):allocator.cpp:(.text+0x18b): undefined reference to `__stack_chk_fail'
254
255
+if (.Platform$OS.type == "windows") {
256
+ pkgLibs <- c(pkgLibs, "-lssp")
257
+}
258
+
259
define(PKG_LIBS = paste(pkgLibs, collapse = " "))
260
261
# if we're going to build tbb from sources, check for cmake
0 commit comments