hedgewars/uPhysFSLayer.pas
changeset 13927 3a0d09a31f5f
parent 13511 36f3f77e9b1b
child 14204 3c36a4e66c82
--- 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}