Browse Source

* save/load LinkOtherFrameworks to/from ppu files

git-svn-id: trunk@8344 -
Jonas Maebe 18 years ago
parent
commit
c5b3180f5f
2 changed files with 6 additions and 1 deletions
  1. 3 0
      compiler/fppu.pas
  2. 3 1
      compiler/ppu.pas

+ 3 - 0
compiler/fppu.pas

@@ -939,6 +939,8 @@ uses
                readlinkcontainer(LinkotherStaticLibs);
              iblinkothersharedlibs :
                readlinkcontainer(LinkotherSharedLibs);
+             iblinkotherframeworks :
+               readlinkcontainer(LinkOtherFrameworks);
              ibImportSymbols :
                readImportSymbols;
              ibderefmap :
@@ -1027,6 +1029,7 @@ uses
          writelinkcontainer(linkotherofiles,iblinkotherofiles,false);
          writelinkcontainer(linkotherstaticlibs,iblinkotherstaticlibs,true);
          writelinkcontainer(linkothersharedlibs,iblinkothersharedlibs,true);
+         writelinkcontainer(linkotherframeworks,iblinkotherframeworks,true);
          writeImportSymbols;
          writeResources;
          ppufile.do_crc:=true;

+ 3 - 1
compiler/ppu.pas

@@ -43,7 +43,7 @@ type
 {$endif Test_Double_checksum}
 
 const
-  CurrentPPUVersion=83;
+  CurrentPPUVersion=84;
 
 { buffer sizes }
   maxentrysize = 1024;
@@ -125,6 +125,8 @@ const
   ibnodetree       = 80;
   ibasmsymbols     = 81;
   ibresources      = 82;
+  { target-specific things }
+  iblinkotherframeworks = 100;
 
 { unit flags }
   uf_init          = $1;