diff options
author | joost <joost@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2012-01-10 17:03:49 +0000 |
---|---|---|
committer | joost <joost@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2012-01-10 17:03:49 +0000 |
commit | 581ce5acbc1988f80ffa5bc7623cbd0d3c8174a5 (patch) | |
tree | 2cc4731052aa027171d94aa3ee05120fe6225f24 /packages/gdbint | |
parent | 17b435c3679bc8bae5b09cc757706dbf8c4050d8 (diff) | |
download | fpc-581ce5acbc1988f80ffa5bc7623cbd0d3c8174a5.tar.gz |
* Add package prefix when generating gdbver.inc
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@20039 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/gdbint')
-rw-r--r-- | packages/gdbint/fpmake.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/gdbint/fpmake.pp b/packages/gdbint/fpmake.pp index 68f6495373..995f21b5d4 100644 --- a/packages/gdbint/fpmake.pp +++ b/packages/gdbint/fpmake.pp @@ -88,9 +88,9 @@ begin L := TStringList.Create; try if P.Directory<>'' then - L.values['src'+DirectorySeparator+'gdbver_nogdb.inc'] := IncludeTrailingPathDelimiter(P.Directory) +'src'+DirectorySeparator+'gdbver.inc' + L.values[Installer.BuildEngine.AddPathPrefix(P,'src')+DirectorySeparator+'gdbver_nogdb.inc'] := IncludeTrailingPathDelimiter(P.Directory) +'src'+DirectorySeparator+'gdbver.inc' else - L.values['src'+DirectorySeparator+'gdbver_nogdb.inc'] := 'src'+DirectorySeparator+'gdbver.inc'; + L.values[Installer.BuildEngine.AddPathPrefix(P,'src')+DirectorySeparator+'gdbver_nogdb.inc'] := 'src'+DirectorySeparator+'gdbver.inc'; Installer.BuildEngine.cmdcopyfiles(L, Installer.BuildEngine.StartDir); finally L.Free; |