mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 18:25:58 +02:00
* use current_module.sharedlibfilename instead of current_module.exefilename, when linking a library for the wasm32-embedded target
This commit is contained in:
parent
9dfda963a3
commit
ec9c81e77e
@ -2185,7 +2185,7 @@ function TLinkerEmbedded_Wasm.MakeSharedLibrary: boolean;
|
|||||||
|
|
||||||
SoNameStr:='';
|
SoNameStr:='';
|
||||||
SplitBinCmd(Info.DllCmd[1],binstr,cmdstr);
|
SplitBinCmd(Info.DllCmd[1],binstr,cmdstr);
|
||||||
Replace(cmdstr,'$EXE',maybequoted(current_module.exefilename));
|
Replace(cmdstr,'$EXE',maybequoted(current_module.sharedlibfilename));
|
||||||
|
|
||||||
tmp := TCmdStrListItem(ObjectFiles.First);
|
tmp := TCmdStrListItem(ObjectFiles.First);
|
||||||
while Assigned(tmp) do begin
|
while Assigned(tmp) do begin
|
||||||
|
Loading…
Reference in New Issue
Block a user