workaround static physfs static linking on linux physfslayer
authorkoda
Fri, 22 Feb 2013 09:53:09 +0100
branchphysfslayer
changeset 8530 66cedf3e9d1e
parent 8528 ffd71e99a4f0
child 8533 2d7703d6bc22
workaround static physfs static linking on linux
hedgewars/SDLh.pas
--- a/hedgewars/SDLh.pas	Fri Feb 22 06:39:16 2013 +0100
+++ b/hedgewars/SDLh.pas	Fri Feb 22 09:53:09 2013 +0100
@@ -36,7 +36,8 @@
 
 {$IFDEF UNIX}
     {$IFNDEF DARWIN}
-        {$linklib c}
+        {necessary for statically linking physfs (divdi3 undefined)}
+        {$linklib stdc++}
     {$ENDIF}
     {$IFDEF HAIKU}
         {$linklib root}