hedgewars/SDLh.pas
branchcmake_pascal
changeset 8775 3cad01db0bae
parent 8746 55539c550c33
child 8800 5e837e6d8f94
--- a/hedgewars/SDLh.pas	Tue Mar 19 09:53:12 2013 +0100
+++ b/hedgewars/SDLh.pas	Tue Mar 19 10:34:46 2013 +0100
@@ -58,7 +58,8 @@
 {$ENDIF}
 
 {$IFDEF DARWIN}
-    {$IFNDEF IPHONEOS}
+    {$IFNDEF HWLIBRARY}
+        {$linklib SDLmain}
         {$PASCALMAINNAME SDL_main}
         {$linkframework Cocoa}
         {$linkframework SDL}