--- 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++}