Explorar o código

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

git-svn-id: trunk@29153 -
pierre %!s(int64=10) %!d(string=hai) anos
pai
achega
c6199b22b6
Modificáronse 1 ficheiros con 2 adicións e 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