From 2e93d772858b7098bdbb51d1c8cb739f0ade467a Mon Sep 17 00:00:00 2001 From: alexvjs <84683779+alexvjs@users.noreply.github.com> Date: Tue, 10 Oct 2023 20:09:17 +0400 Subject: [PATCH] Link dbg rt when mAllocStackTraceDepth > 0 Had link error when mAllocStackTraceDepth > 0 --- IDE/src/BuildContext.bf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/IDE/src/BuildContext.bf b/IDE/src/BuildContext.bf index fc1ace98..0c67fbbf 100644 --- a/IDE/src/BuildContext.bf +++ b/IDE/src/BuildContext.bf @@ -794,7 +794,10 @@ namespace IDE outRt.Append(dynName ? ".dll" : ".lib"); } - if ((workspaceOptions.mEnableObjectDebugFlags) || (workspaceOptions.mAllocType == .Debug) || (workspaceOptions.mAllocType == .Stomp)) + if ((workspaceOptions.mEnableObjectDebugFlags) + || (workspaceOptions.mAllocType == .Debug) + || (workspaceOptions.mAllocType == .Stomp) + || (workspaceOptions.mAllocStackTraceDepth > 0)) { outDbg.Append("Beef", IDEApp.sRTVersionStr, "Dbg"); outDbg.Append((Workspace.PlatformType.GetPtrSizeByName(gApp.mPlatformName) == 4) ? "32" : "64");