7zip: use f-strings (#40430)

This commit is contained in:
Alec Scott 2023-10-11 10:46:23 -07:00 committed by GitHub
parent 7dbc712fba
commit 5d582a5e48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,8 +75,8 @@ def is_64bit(self):
def build(self, spec, prefix):
link_type = "1" if "static" in spec.variants["link_type"].value else "0"
nmake_args = [
"PLATFORM=%s" % self.plat_arch,
"MY_STATIC_LINK=%s" % link_type,
f"PLATFORM={self.plat_arch}",
f"MY_STATIC_LINK={link_type}",
"NEW_COMPILER=1",
]
# 7zips makefile is configured in such as way that if this value is set