Explorar o código

+ Handle gdblib.inc include file in GDBLibDir

git-svn-id: trunk@20167 -
pierre %!s(int64=13) %!d(string=hai) anos
pai
achega
14edbfe855
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      packages/gdbint/fpmake.pp

+ 7 - 0
packages/gdbint/fpmake.pp

@@ -81,6 +81,13 @@ begin
         begin
           Installer.BuildEngine.Log(vlCommand,'Using GDB')
         end;
+  // Detect if gdblib.inc is available
+      if FileExists(GDBLibDir+PathDelim+'gdblib.inc') then
+        begin
+          P.Options.Add('-dUSE_GDBLIBINC');
+          P.Options.Add('-Fi'+GdbLibDir);
+          Installer.BuildEngine.Log(vlCommand,'Using gdblib.inc include file')
+        end;
     end
   else
     begin