diff -r 939641cdb94f -r 3a0d09a31f5f hedgewars/uPhysFSLayer.pas --- a/hedgewars/uPhysFSLayer.pas Mon Oct 15 19:34:11 2018 +0200 +++ b/hedgewars/uPhysFSLayer.pas Mon Oct 15 21:40:32 2018 +0300 @@ -5,8 +5,14 @@ interface uses SDLh, LuaPas; -const PhysfsLibName = {$IFDEF PHYSFS_INTERNAL}'libhwphysfs'{$ELSE}'libphysfs'{$ENDIF}; -const PhyslayerLibName = 'libphyslayer'; +const PhysfsLibName = +{$IFDEF PHYSFS_INTERNAL} + 'libhwphysfs' +{$ELSE} + {$IFDEF WIN32_VCPKG}'physfs'{$ELSE}'libphysfs'{$ENDIF}; +{$ENDIF} +const PhyslayerLibName = + {$IFDEF WIN32_VCPKG}'physlayer'{$ELSE}'libphyslayer'{$ENDIF}; {$IFNDEF WIN32} {$linklib physfs}