diff options
author | pierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2012-01-25 07:26:07 +0000 |
---|---|---|
committer | pierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2012-01-25 07:26:07 +0000 |
commit | 97ec14bdd80fafe2eaab76453779ff1b9adf9ad2 (patch) | |
tree | 9dbf6f86734a7c5aedf364495224dd1c4f697594 /packages/gdbint | |
parent | d38fb0f4cfe9022d3cddb7607b2a829f645dffc1 (diff) | |
download | fpc-97ec14bdd80fafe2eaab76453779ff1b9adf9ad2.tar.gz |
+ Handle gdblib.inc include file in GDBLibDir
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@20167 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/gdbint')
-rw-r--r-- | packages/gdbint/fpmake.pp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/gdbint/fpmake.pp b/packages/gdbint/fpmake.pp index db92202f38..caf10500fa 100644 --- a/packages/gdbint/fpmake.pp +++ b/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 |