DEADSOFTWARE

fix link libraries on osx
[d2df-sdl.git] / src / lib / vorbis / ogg.pas
index 9ce03af74e391c9d2a541eefac63153d458a5ef4..4559d35bf7e750ec641d8351110537208265f9c2 100644 (file)
@@ -35,7 +35,8 @@ uses
   {$ENDIF}
 {$ELSEIF DEFINED(UNIX)}
   {$DEFINE OGG_DYNAMIC}
-  const ogglib = 'libogg.so';
+  {$LINKLIB libogg}
+  const ogglib = 'libogg';
 {$ELSE}
   {$ERROR libogg not supported on this platform. Fix it!}
 {$ENDIF}