hedgewars/uPhysFSLayer.pas
branchwebgl
changeset 9236 ddd675825672
parent 9127 e350500c4edb
parent 9224 bce8cf41d666
child 9260 64718974158f
equal deleted inserted replaced
9201:bcf2f7798ebb 9236:ddd675825672
     1 unit uPhysFSLayer;
     1 unit uPhysFSLayer;
     2 
     2 
     3 interface
     3 interface
     4 uses SDLh, LuaPas;
     4 uses SDLh, LuaPas;
     5 
     5 
     6 const PhysfsLibName = {$IFDEF PHYSFS_INTERNAL}'libhw_physfs'{$ELSE}'libphysfs'{$ENDIF};
     6 const PhysfsLibName = {$IFDEF PHYSFS_INTERNAL}'libhwphysfs'{$ELSE}'libphysfs'{$ENDIF};
     7 const PhyslayerLibName = 'libphyslayer';
     7 const PhyslayerLibName = 'libphyslayer';
     8 
     8 
     9 {$IFNDEF WIN32}
     9 {$IFNDEF WIN32}
    10     {$linklib physfs}
    10     {$linklib physfs}
    11     {$linklib physlayer}
    11     {$linklib physlayer}
    12 
       
    13     {statically linking physfs brings IOKit dependency on OSX}
       
    14     {$IFDEF DARWIN}
       
    15         {$linkframework IOKit}
       
    16     {$ENDIF}
       
    17 {$ENDIF}
    12 {$ENDIF}
    18 
    13 
    19 procedure initModule;
    14 procedure initModule;
    20 procedure freeModule;
    15 procedure freeModule;
    21 
    16