7zip: use f-strings (#40430)
This commit is contained in:
parent
7dbc712fba
commit
5d582a5e48
@ -75,8 +75,8 @@ def is_64bit(self):
|
|||||||
def build(self, spec, prefix):
|
def build(self, spec, prefix):
|
||||||
link_type = "1" if "static" in spec.variants["link_type"].value else "0"
|
link_type = "1" if "static" in spec.variants["link_type"].value else "0"
|
||||||
nmake_args = [
|
nmake_args = [
|
||||||
"PLATFORM=%s" % self.plat_arch,
|
f"PLATFORM={self.plat_arch}",
|
||||||
"MY_STATIC_LINK=%s" % link_type,
|
f"MY_STATIC_LINK={link_type}",
|
||||||
"NEW_COMPILER=1",
|
"NEW_COMPILER=1",
|
||||||
]
|
]
|
||||||
# 7zips makefile is configured in such as way that if this value is set
|
# 7zips makefile is configured in such as way that if this value is set
|
||||||
|
Loading…
Reference in New Issue
Block a user