From 67f953ca4458fa3d046bfbf8547f803b5ed43170 Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Sat, 24 May 2008 16:16:28 +0000 Subject: WIN32 -> MSWINDOWS; targets reorderd, linklib changed git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1132 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/lib/portaudio/delphi/portaudio.pas | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'Game/Code') diff --git a/Game/Code/lib/portaudio/delphi/portaudio.pas b/Game/Code/lib/portaudio/delphi/portaudio.pas index 31f9ee3a..94516c7a 100644 --- a/Game/Code/lib/portaudio/delphi/portaudio.pas +++ b/Game/Code/lib/portaudio/delphi/portaudio.pas @@ -44,9 +44,6 @@ unit portaudio; {$IFDEF FPC} - {$IFNDEF win32} - {$LINKLIB libportaudio} - {$ENDIF} {$PACKRECORDS C} (* GCC/Visual C/C++ compatible record packing *) {$MODE DELPHI } {$ENDIF} @@ -56,14 +53,16 @@ interface //uses; const -{$IFDEF WIN32} +{$IFDEF MSWINDOWS} LibName = 'portaudio_x86.dll'; {$ENDIF} {$IFDEF LINUX} LibName = 'libportaudio.so'; {$ENDIF} {$IFDEF DARWIN} - LibName = 'libportaudio.dylib'; +// this is for portaudio version 19 + LibName = 'libportaudio.2.dylib'; + {$LINKLIB libportaudio.2} {$ENDIF} {** Retrieve the release number of the currently running PortAudio build, -- cgit v1.2.3