aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/lib/JEDI-SDL/SDL
diff options
context:
space:
mode:
Diffstat (limited to 'Game/Code/lib/JEDI-SDL/SDL')
-rw-r--r--Game/Code/lib/JEDI-SDL/SDL/Pas/sdl.pas4
-rw-r--r--Game/Code/lib/JEDI-SDL/SDL/Pas/sdlutils.pas2
2 files changed, 6 insertions, 0 deletions
diff --git a/Game/Code/lib/JEDI-SDL/SDL/Pas/sdl.pas b/Game/Code/lib/JEDI-SDL/SDL/Pas/sdl.pas
index 2eede417..0402107e 100644
--- a/Game/Code/lib/JEDI-SDL/SDL/Pas/sdl.pas
+++ b/Game/Code/lib/JEDI-SDL/SDL/Pas/sdl.pas
@@ -369,6 +369,10 @@ const
{$IFDEF UNIX}
{$IFDEF DARWIN}
SDLLibName = 'libSDL-1.2.0.dylib';
+ {$linklib libSDL-1.2.0}
+ {$linklib SDLmain}
+ {$linkframework Cocoa}
+ {$PASCALMAINNAME SDL_main}
{$ELSE}
{$IFDEF FPC}
SDLLibName = 'libSDL.so';
diff --git a/Game/Code/lib/JEDI-SDL/SDL/Pas/sdlutils.pas b/Game/Code/lib/JEDI-SDL/SDL/Pas/sdlutils.pas
index 704ad3cb..7fbed878 100644
--- a/Game/Code/lib/JEDI-SDL/SDL/Pas/sdlutils.pas
+++ b/Game/Code/lib/JEDI-SDL/SDL/Pas/sdlutils.pas
@@ -132,8 +132,10 @@ interface
uses
{$IFDEF UNIX}
Types,
+{$IFNDEF DARWIN}
Xlib,
{$ENDIF}
+{$ENDIF}
SysUtils,
sdl;