mirror of
https://github.com/scummvm/dockerized-bb.git
synced 2026-06-20 05:46:00 +00:00
MASTER: Really fix Strip step
This commit is contained in:
1 parent
a4c37596ee
commit
570841d267
2 files changed
+6
-3
No files matched your search
+4
-2
@@ -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
@@ -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" ],
|
||||
|
||||
Reference in new issue
Block a user