MASTER: Really fix Strip step

This commit is contained in:
Le Philousophe committed 2020-12-20 12:26:33 +00:00
1 parent a4c37596ee
commit 570841d267
2 files changed
+6 -3

No files matched your search

+4 -2
View File
@@ -287,7 +287,8 @@ class ScummVMBuild(StandardBuild):
packaging_cmd = platform.getPackagingCmd(self)
else:
if platform.getStripCmd(self) is not None:
f.addStep(scummsteps.Strip(command = platform.getStripCmd(self)))
f.addStep(scummsteps.Strip(command = platform.getStripCmd(self),
env = env))
if platform.canPackage(self):
f.addStep(scummsteps.Package(disttarget = packaging_cmd,
@@ -429,7 +430,8 @@ class ScummVMToolsBuild(StandardBuild):
packaging_cmd = platform.getPackagingCmd(self)
else:
if platform.getStripCmd(self) is not None:
f.addStep(scummsteps.Strip(command = platform.getStripCmd(self)))
f.addStep(scummsteps.Strip(command = platform.getStripCmd(self),
env = env))
if platform.canPackage(self):
f.addStep(scummsteps.Package(disttarget = packaging_cmd,
+2 -1
View File
@@ -616,7 +616,8 @@ def windows_mxe(suffix, target):
builds.ScummVMBuild: [ "--enable-updates"],
}
platform.strip_cmd = {
builds.ScummVMBuild: ['${STRIP}', 'scummvm.exe'],
# As we use an environment variable, we need to use string to spawn a shell
builds.ScummVMBuild: '"${STRIP}" scummvm.exe',
}
platform.built_files = {
builds.ScummVMBuild: [ "scummvm.exe" ],