Explorar el Código

Also remove gdbver target when gdblib.inc is found and add library path

git-svn-id: trunk@29153 -
pierre hace 10 años
padre
commit
c6199b22b6
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      packages/gdbint/fpmake.pp

+ 2 - 0
packages/gdbint/fpmake.pp

@@ -72,7 +72,9 @@ begin
         begin
           P.Options.Add('-dUSE_GDBLIBINC');
           P.Options.Add('-Fi'+GdbLibDir);
+          P.Options.Add('-Fl'+GdbLibDir);
           // No need to use gdbver in this case
+          p.Targets.Delete(GdbVerTarget.Index);
           Installer.BuildEngine.Log(vlCommand,'Using gdblib.inc include file')
         end
      // When we're cross-compiling, running the gdbver executable to detect the