equal
deleted
inserted
replaced
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 |