DEADSOFTWARE

tools: fix build with sdl2
[d2df-sdl.git] / src / lib / sdl2 / SDL2_mixer.pas
index 56b7caecd23c11f8076b253c4174c5d7168db915..4a3890c1e424b446bba1d13b97763ec94f8a701f 100644 (file)
@@ -1,3 +1,4 @@
+{$MODE DELPHI}
 unit SDL2_mixer;
 
 {*
@@ -25,7 +26,7 @@ unit SDL2_mixer;
    ----------
 
    v.1.72-stable; 29.09.2013: fixed bug with procedures without parameters
-                              (they must have brackets)  
+                              (they must have brackets)
    v.1.70-stable; 16.09.2013: Initial Commit
 
 *}
@@ -44,6 +45,7 @@ const
 
   {$IFDEF UNIX}
     {$IFDEF DARWIN}
+      {$LINKLIB libSDL2_mixer}
       MIX_LibName = 'libSDL2_mixer.dylib';
     {$ELSE}
       {$IFDEF FPC}