yay no more linking workarounds (for statically linking physfs on 32 bit arch, bringing divd3 or stdc++ or gcc_s.so.1 dependencies) 0.9.19
authorkoda
Mon, 03 Jun 2013 23:23:46 +0200
branch0.9.19
changeset 9111 f529fba57ba5
parent 9110 3883b5dc600c
child 9112 cefab5ac8f0f
yay no more linking workarounds (for statically linking physfs on 32 bit arch, bringing divd3 or stdc++ or gcc_s.so.1 dependencies)
hedgewars/uPhysFSLayer.pas
--- a/hedgewars/uPhysFSLayer.pas	Mon Jun 03 23:21:29 2013 +0200
+++ b/hedgewars/uPhysFSLayer.pas	Mon Jun 03 23:23:46 2013 +0200
@@ -11,18 +11,8 @@
     {$linklib physlayer}
 
     {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++}
-            {$ENDIF}
-        {$ENDIF}
+    {$IFDEF DARWIN}
+        {$linkframework IOKit}
     {$ENDIF}
 {$ENDIF}