make libportaudio static

libportaudio-2.dll not needed anymore
This commit is contained in:
Pavel 2022-05-31 10:14:57 +03:00
parent 45dd04e8f7
commit 35825112d8
6 changed files with 27 additions and 3 deletions

View File

@ -32,9 +32,6 @@ unit libportaudio;
interface
uses
{$if defined(USE_STATIC_PORTAUDIO) and defined(WINDOWS)}
libaudio_static,
{$ENDIF}
CTypes;
{$ifdef USE_STATIC_PORTAUDIO}
@ -45,6 +42,11 @@ uses
{$Linklib libm}
{$Linklib libc}
{$ENDIF}
{$IFDEF windows}
{$Linklib libkernel32}
{$Linklib libwinmm}
{$Linklib libmsvcrt}
{$ENDIF}
{$endif}
Const
@ -274,5 +276,27 @@ function Pa_Sleep(msec : CLong) : integer; cdecl; external {$ifndef USE_STATIC_P
implementation
{$IFNDEF PA_NOT_chkstk_ms}
procedure ___chkstk_ms; cdecl; export;
begin
end;
{$ENDIF}
{$IFNDEF PA_NOT_assert}
procedure _assert(__assertion,__file,__line:PChar); cdecl; export;
Var
lineno:longint;
Error:word;
begin
if Assigned(AssertErrorProc) then
begin
lineno:=0;
Error:=0;
Val(__line,lineno,Error);
AssertErrorProc(__assertion,__file,lineno,get_caller_addr(get_frame));
end;
end;
{$ENDIF}
end.

BIN
static/libkernel32.a Normal file

Binary file not shown.

BIN
static/libmingwex.a Normal file

Binary file not shown.

BIN
static/libmsvcrt.a Normal file

Binary file not shown.

BIN
static/libportaudio.a Normal file

Binary file not shown.

BIN
static/libwinmm.a Normal file

Binary file not shown.