mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-02 23:37:18 +01:00
fixed switching fpc src dir after failure
git-svn-id: trunk@4677 -
This commit is contained in:
parent
572c78be7f
commit
6dcd8dde03
@ -27,15 +27,18 @@ const
|
||||
'/usr/fpcsrc',
|
||||
'/usr/share/fpc/src',
|
||||
'/usr/fpc/src',
|
||||
'/usr/src/fpc',
|
||||
'/usr/local/fpc/src',
|
||||
'/usr/local/share/fpc/src',
|
||||
'/usr/local/src/fpc',
|
||||
'/usr/lib/fpc/src',
|
||||
'/usr/local/lib/fpc/src',
|
||||
'/vol/fpc/src',
|
||||
'/vol/src/fpc',
|
||||
'/vol/lib/fpc/src'
|
||||
'/vol/lib/fpc/src',
|
||||
// here some extra paths. These paths are also created by the fpc rpm
|
||||
// creation script and do not contain all sources. So, they are searched
|
||||
// last.
|
||||
'/usr/src/fpc',
|
||||
'/vol/src/fpc'
|
||||
);
|
||||
|
||||
var
|
||||
|
||||
@ -8045,6 +8045,7 @@ begin
|
||||
CodeToolBoss.DefineTree.RemoveRootDefineTemplateByName(
|
||||
FPCSrcTemplate.Name);
|
||||
FPCSrcTemplate.InsertBehind(CompilerTemplate);
|
||||
CodeToolBoss.DefineTree.ClearCache;
|
||||
// save unitlinks
|
||||
InputHistories.SetLastFPCUnitLinks(EnvironmentOptions.CompilerFilename,
|
||||
CurOptions,CompilerUnitSearchPath,
|
||||
@ -9792,6 +9793,9 @@ end.
|
||||
|
||||
{ =============================================================================
|
||||
$Log$
|
||||
Revision 1.650 2003/09/26 06:23:36 mattias
|
||||
fixed switching fpc src dir after failure
|
||||
|
||||
Revision 1.649 2003/09/18 09:21:02 mattias
|
||||
renamed LCLLinux to LCLIntf
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user