--- a/hedgewars/uSound.pas Sat Jun 27 09:51:15 2009 +0000
+++ b/hedgewars/uSound.pas Sun Jun 28 14:37:26 2009 +0000
@@ -19,17 +19,20 @@
unit uSound;
interface
+
{$IFDEF DARWIN}
+ {$linklib openalbridge}
{$linkframework OpenAL}
{$linkframework Ogg}
{$linkframework Vorbis}
- {$linklib openalbridge}
{$ELSE}
+{$IFDEF UNIX}
{$linklib openal}
{$linklib ogg}
{$linklib vorbis}
{$linklib vorbisfile}
{$ENDIF}
+{$ENDIF}
uses uConsts;
{$INCLUDE options.inc}
@@ -40,7 +43,7 @@
chunks: array [TSound] of LongInt;
end;
-const OpenALBridge = 'libopenalbridge';
+const OpenALBridge = 'openalbridge';
procedure InitSound;
procedure ReleaseSound;