Skip to content

Commit

Permalink
fixed linux compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
ev1313 committed Aug 24, 2013
1 parent b787bd6 commit 3660b42
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions sdl2.pas
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
{
Changelog:
----------
v.1.53-Alpha; 24.08.2013: renamed *really* and fixed linux comp.
v.1.52-Alpha; 24.08.2013: renamed sdl.pas to sdl2.pas
v.1.51-Alpha; 24.08.2013: added sdl_platform.h
v.1.50-Alpha; 24.08.2013: the header is now modular. thx for the hint from d.l.i.w.
Expand Down Expand Up @@ -126,12 +127,12 @@ interface

{$IFDEF UNIX}
{$IFDEF DARWIN}
SDL_LibName = 'libSDL-2.dylib';
SDL_LibName = 'libSDL2.dylib';
{$ELSE}
{$IFDEF FPC}
SDL_LibName = 'libSDL-2.so';
SDL_LibName = 'libSDL2.so';
{$ELSE}
SDL_LibName = 'libSDL-2.so.0';
SDL_LibName = 'libSDL2.so.0';
{$ENDIF}
{$ENDIF}
{$ENDIF}
Expand Down

0 comments on commit 3660b42

Please sign in to comment.