hedgewars/uPhysFSLayer.pas
branchcmake_pascal
changeset 8849 db108c851315
parent 8800 5e837e6d8f94
child 9224 bce8cf41d666
--- a/hedgewars/uPhysFSLayer.pas	Tue Mar 26 01:13:45 2013 +0100
+++ b/hedgewars/uPhysFSLayer.pas	Tue Mar 26 01:18:04 2013 +0100
@@ -10,13 +10,15 @@
     {$linklib physfs}
     {$linklib physlayer}
 
-    {statically linking physfs brings IOKit dependency on OSX while unders other
-     UNIX configuration divdi3 is not defined (so we add it ourselves)}
+    {statically linking physfs brings IOKit dependency on OSX and
+     stdc++ under linux 32 bit because divdi3 is not defined}
     {$IFDEF PHYSFS_INTERNAL}
         {$IFDEF DARWIN}
             {$linkframework IOKit}
         {$ELSE}
-            {$linklib stdc++}
+            {$IFDEF CPU32}
+                {$linklib stdc++}
+            {$ENDIF}
         {$ENDIF}
     {$ENDIF}
 {$ENDIF}