Browse Source

* always add a fileextension to the package name so that packages with dotted names are handled correctly

git-svn-id: trunk@34231 -
svenbarth 9 years ago
parent
commit
cb5f582f94
1 changed files with 2 additions and 1 deletions
  1. 2 1
      compiler/fpcp.pas

+ 2 - 1
compiler/fpcp.pas

@@ -411,7 +411,8 @@ implementation
     constructor tpcppackage.create(const pn: string);
     constructor tpcppackage.create(const pn: string);
     begin
     begin
       inherited create(pn);
       inherited create(pn);
-      setfilename(pn,true);
+
+      setfilename(pn+'.ppk',true);
     end;
     end;
 
 
   destructor tpcppackage.destroy;
   destructor tpcppackage.destroy;