DEADSOFTWARE

fix link libraries on osx
[d2df-sdl.git] / src / lib / openal / al.pas
index ee62cd11864792e5f98b5c43aae6e2788203b07b..d762800f13e52274c37ceb9953be4395660d6611 100644 (file)
@@ -20,6 +20,8 @@ uses
     const openallib = 'openal32.dll';
     {$DEFINE AL_DYNAMIC}
   {$ENDIF}
+{$ELSEIF DEFINED(DARWIN)}
+  {$LINKFRAMEWORK OpenAL}
 {$ELSEIF DEFINED(UNIX)}
   const openallib = 'libopenal.so';
   {$DEFINE AL_DYNAMIC}