mirror of
https://github.com/darlinghq/xcbuild.git
synced 2025-02-18 15:49:22 +00:00
Resolve the dsymutil tool invocation in the right way
This fixes expanding OutputPath properly for dsymutil, fixing issue #208.
This commit is contained in:
parent
325247d927
commit
a869e6746f
@ -125,7 +125,7 @@ resolve(Phase::Environment const &phaseEnvironment, Phase::Context *phaseContext
|
||||
if (variantEnvironment.resolve("DEBUG_INFORMATION_FORMAT") == "dwarf-with-dsym" && (binaryType != "staticlib" && binaryType != "mh_object")) {
|
||||
Tool::Input outputInput = Tool::Input(variantProductsOutput, nullptr);
|
||||
std::string dsymfile = variantEnvironment.resolve("DWARF_DSYM_FOLDER_PATH") + "/" + variantEnvironment.resolve("DWARF_DSYM_FILE_NAME");
|
||||
dsymutilResolver->resolve(&phaseContext->toolContext(), variantEnvironment, { outputInput }, dsymfile);
|
||||
dsymutilResolver->resolve(&phaseContext->toolContext(), variantEnvironment, { outputInput }, std::vector<std::string>({dsymfile}));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user