Browse Source

[PATCH 82/83] replacing the $EXE for executable name

From 5e9a77b04b54e059375fedcb75b8eb3e34aba695 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <[email protected]>
Date: Tue, 26 Nov 2019 10:50:37 -0500

git-svn-id: branches/wasm@45959 -
nickysn 5 years ago
parent
commit
5d62ef7ca1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/systems/t_wasm.pas

+ 1 - 1
compiler/systems/t_wasm.pas

@@ -94,7 +94,7 @@ begin
 
   SoNameStr:='';
   SplitBinCmd(Info.DllCmd[1],binstr,cmdstr);
-  Replace(cmdstr,'$EXE',maybequoted(current_module.sharedlibfilename));
+  Replace(cmdstr,'$EXE',maybequoted(current_module.exefilename));
 
   tmp := TCmdStrListItem(ObjectFiles.First);
   while Assigned(tmp) do begin