Browse Source

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

git-svn-id: trunk@29153 -
pierre 10 years ago
parent
commit
c6199b22b6
1 changed files with 2 additions and 0 deletions
  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