mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 06:06:17 +02:00
+ Handle gdblib.inc include file in GDBLibDir
git-svn-id: trunk@20167 -
This commit is contained in:
parent
5694514ebc
commit
14edbfe855
@ -81,6 +81,13 @@ begin
|
|||||||
begin
|
begin
|
||||||
Installer.BuildEngine.Log(vlCommand,'Using GDB')
|
Installer.BuildEngine.Log(vlCommand,'Using GDB')
|
||||||
end;
|
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
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user