소스 검색

Allow debug of islzma.dll from islzma.sln.

Martijn Laan 3 일 전
부모
커밋
313f1c321c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Projects/Src/Compiler.SetupCompiler.pas

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

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