mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 21:19:31 +02:00
* check target system instead of using an ifdef
git-svn-id: trunk@44394 -
This commit is contained in:
parent
eb9a4eca91
commit
3b8979210d
@ -1067,11 +1067,10 @@ begin
|
||||
|
||||
{ Call linker }
|
||||
SplitBinCmd(Info.DllCmd[1],binstr,cmdstr);
|
||||
{$ifndef darwin}
|
||||
Replace(cmdstr,'$EXE',maybequoted(current_module.sharedlibfilename));
|
||||
{$else darwin}
|
||||
Replace(cmdstr,'$EXE',maybequoted(ExpandFileName(current_module.sharedlibfilename)));
|
||||
{$endif darwin}
|
||||
if not(target_info.system in systems_darwin) then
|
||||
Replace(cmdstr,'$EXE',maybequoted(current_module.sharedlibfilename))
|
||||
else
|
||||
Replace(cmdstr,'$EXE',maybequoted(ExpandFileName(current_module.sharedlibfilename)));
|
||||
Replace(cmdstr,'$OPT',Info.ExtraOptions);
|
||||
Replace(cmdstr,'$TARGET',targetstr);
|
||||
Replace(cmdstr,'$EMUL',EmulStr);
|
||||
|
Loading…
Reference in New Issue
Block a user