# HG changeset patch # User koda # Date 1364257206 -3600 # Node ID da1b1d19bd4cbea610d86f0b2cb8c1b85803429b # Parent f1231a48fc48f3c45f1b0ad17309950a8160a8d9 link stdc++ (for physfs on linux) only when targetting 32bit diff -r f1231a48fc48 -r da1b1d19bd4c hedgewars/SDLh.pas --- a/hedgewars/SDLh.pas Sat Mar 23 21:03:27 2013 +0200 +++ b/hedgewars/SDLh.pas Tue Mar 26 01:20:06 2013 +0100 @@ -36,8 +36,10 @@ {$IFDEF UNIX} {$IFNDEF DARWIN} - {necessary for statically linking physfs (divdi3 undefined)} - {$linklib stdc++} + {necessary for statically linking physfs (divdi3 undefined on 32 bit)} + {$IFDEF CPU32} + {$linklib stdc++} + {$ENDIF} {$ENDIF} {$IFDEF HAIKU} {$linklib root}