+ added linklib statement so it works on Darwin

git-svn-id: trunk@11027 -
This commit is contained in:
Jonas Maebe 2008-05-21 17:26:03 +00:00
parent 63abaeecea
commit 664247d5d6

View File

@ -8,6 +8,8 @@
uses
{$ifdef unix}dl,{$endif unix}sysutils;
{$linklib tlib1a}
procedure p(var a : pointer);external 'tlib1a' name 'p';
var
@ -32,7 +34,7 @@ w:
s2:=ExtractFilename(s2);
writeln({ 'Func: ',s1,'} 'Source: ',s2,' Line: ',l);
{ GetLineInfo of dwarf doesn't return the function name }
if { (s1<>'P') or } (s2<>'tlib1.pp') or (l<>19) then
if { (s1<>'P') or } (s2<>'tlib1.pp') or (l<>21) then
halt(1);
writeln('ok');