mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 05:26:01 +02:00
* fixed DLL importing by name
git-svn-id: trunk@29540 -
This commit is contained in:
parent
2f92aa8d48
commit
f0132e252c
@ -330,17 +330,13 @@ begin
|
|||||||
if index<>0 then
|
if index<>0 then
|
||||||
begin
|
begin
|
||||||
str(index,tmp3);
|
str(index,tmp3);
|
||||||
(*
|
|
||||||
tmp3:=func+'='+module+'.'+tmp3;
|
|
||||||
*)
|
|
||||||
tmp3:=Name+'='+module+'.'+tmp3;
|
tmp3:=Name+'='+module+'.'+tmp3;
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
tmp3:=Name+'='+module+'.'+name;
|
(* tmp3:=Name+'='+module+'.'+name;
|
||||||
(*
|
|
||||||
tmp3:=func+'='+module+'.'+name;
|
|
||||||
aout_sym(tmp2,n_imp1+n_ext,0,0,0);
|
|
||||||
*)
|
*)
|
||||||
|
tmp3 := MangledName + '=' + module + '.' + target_info.Cprefix + name;
|
||||||
|
|
||||||
aout_sym(tmp2,n_imp1+n_ext,0,0,0);
|
aout_sym(tmp2,n_imp1+n_ext,0,0,0);
|
||||||
aout_sym(tmp3,n_imp2+n_ext,0,0,0);
|
aout_sym(tmp3,n_imp2+n_ext,0,0,0);
|
||||||
aout_finish;
|
aout_finish;
|
||||||
|
Loading…
Reference in New Issue
Block a user