Browse Source

Allow debug of islzma.dll from islzma.sln.

Martijn Laan 3 days ago
parent
commit
313f1c321c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Projects/Src/Compiler.SetupCompiler.pas

+ 1 - 1
Projects/Src/Compiler.SetupCompiler.pas

@@ -603,7 +603,7 @@ begin
   if LZMAInitialized then
     Exit;
   var Filename := CompilerDir + 'islzma.dll';
-  var M := LoadCompilerDLL(Filename, []);
+  var M := LoadCompilerDLL(Filename, [ltloTrustAllOnDebug]);
   if not LZMAInitCompressFunctions(M) then
     AbortCompile('Failed to get address of functions in islzma.dll');
   LZMAInitialized := True;