This commit is contained in:
parent
dedb04fa9e
commit
b8d7a98265
1 changed files with 6 additions and 6 deletions
|
|
@ -850,12 +850,12 @@ proc execLinkCmd(conf: ConfigRef; linkCmd: string) =
|
||||||
|
|
||||||
proc maybeRunDsymutil(conf: ConfigRef; exe: AbsoluteFile) =
|
proc maybeRunDsymutil(conf: ConfigRef; exe: AbsoluteFile) =
|
||||||
when defined(osx):
|
when defined(osx):
|
||||||
if optCDebug notin conf.globalOptions: return
|
if optCDebug in conf.globalOptions and optGenStaticLib notin conf.globalOptions:
|
||||||
# if needed, add an option to skip or override location
|
# if needed, add an option to skip or override location
|
||||||
let cmd = "dsymutil " & $(exe).quoteShell
|
let cmd = "dsymutil " & $(exe).quoteShell
|
||||||
conf.extraCmds.add cmd
|
conf.extraCmds.add cmd
|
||||||
tryExceptOSErrorMessage(conf, "invocation of dsymutil failed."):
|
tryExceptOSErrorMessage(conf, "invocation of dsymutil failed."):
|
||||||
execExternalProgram(conf, cmd, hintExecuting)
|
execExternalProgram(conf, cmd, hintExecuting)
|
||||||
|
|
||||||
proc execCmdsInParallel(conf: ConfigRef; cmds: seq[string]; prettyCb: proc (idx: int)) =
|
proc execCmdsInParallel(conf: ConfigRef; cmds: seq[string]; prettyCb: proc (idx: int)) =
|
||||||
let runCb = proc (idx: int, p: Process) =
|
let runCb = proc (idx: int, p: Process) =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue