gcc: fix package.py for gcc@:9 (#49173)
This commit is contained in:
parent
738c73975e
commit
13524fa8ed
@ -818,7 +818,7 @@ def configure_args(self):
|
|||||||
if self.version >= Version("6"):
|
if self.version >= Version("6"):
|
||||||
options.append("--with-system-zlib")
|
options.append("--with-system-zlib")
|
||||||
|
|
||||||
if spec.satisfies("^zstd"):
|
if self.version >= Version("10"):
|
||||||
options.append("--with-zstd-include={0}".format(spec["zstd"].headers.directories[0]))
|
options.append("--with-zstd-include={0}".format(spec["zstd"].headers.directories[0]))
|
||||||
options.append("--with-zstd-lib={0}".format(spec["zstd"].libs.directories[0]))
|
options.append("--with-zstd-lib={0}".format(spec["zstd"].libs.directories[0]))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user