Browse Source

* Darwin: fixed calling dsymutil when _not_ skipping the linking step

git-svn-id: trunk@49136 -
Jonas Maebe 4 years ago
parent
commit
4c40e7f9d6
1 changed files with 2 additions and 3 deletions
  1. 2 3
      compiler/systems/t_darwin.pas

+ 2 - 3
compiler/systems/t_darwin.pas

@@ -557,9 +557,8 @@ implementation
         end;
         end;
 
 
       success:=DoExec(BinStr,CmdStr,true,false);
       success:=DoExec(BinStr,CmdStr,true,false);
-      if (success and
-          (extdbgbinstr<>'') and
-          (cs_link_nolink in current_settings.globalswitches)) then
+      if success and
+         (extdbgbinstr<>'') then
         success:=DoExec(extdbgbinstr,extdbgcmdstr,false,false);
         success:=DoExec(extdbgbinstr,extdbgcmdstr,false,false);
 
 
     { Remove ReponseFile }
     { Remove ReponseFile }