Don't remove extra RPATH entries from Mac executable if we're only staging the app bundle and won't be archiving it

#jira UE-62828
#rb none

#ROBOMERGE-SOURCE: CL 7810756 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v388-7785529)

[CL 7810765 by michael trepka in Main branch]
This commit is contained in:
michael trepka
2019-08-06 13:19:53 -04:00
parent 4f7ab24d9a
commit 401fadda6f
@@ -313,7 +313,12 @@ public class MacPlatform : Platform
{
// package up the program, potentially with an installer for Mac
PrintRunTime();
RemoveExtraRPaths(Params, SC);
if (Params.Archive)
{
// Remove extra RPATHs if we will be archiving the project
RemoveExtraRPaths(Params, SC);
}
}
public override void ProcessArchivedProject(ProjectParams Params, DeploymentContext SC)