hedgewars/uPhysFSLayer.pas
branch0.9.19
changeset 8927 3da5182d8682
parent 8926 8fde68cfeb71
child 8978 e6ef8fe314bd
--- a/hedgewars/uPhysFSLayer.pas	Tue Mar 26 01:18:04 2013 +0100
+++ b/hedgewars/uPhysFSLayer.pas	Sat Apr 20 20:13:23 2013 +0200
@@ -10,11 +10,14 @@
     {$linklib physfs}
     {$linklib physlayer}
 
-    {statically linking physfs brings IOKit dependency on OSX and
-     stdc++ under linux 32 bit because divdi3 is not defined}
+    {statically linking physfs brings IOKit dependency on OSX}
+    {divdi3 is found in stdc++ on linux x86 and in gcc_s.1 on osx ppc32}
     {$IFDEF PHYSFS_INTERNAL}
         {$IFDEF DARWIN}
             {$linkframework IOKit}
+            {$IFDEF CPU32}
+                {$linklib gcc_s.1}
+            {$ENDIF}
         {$ELSE}
             {$IFDEF CPU32}
                 {$linklib stdc++}