sherpa: fix AutotoolsBuilder install signature (#48002)

This commit is contained in:
Wouter Deconinck 2024-12-18 20:19:11 -06:00 committed by GitHub
parent 0bc54a4640
commit 0db3b36874
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -208,11 +208,11 @@ def configure_args(self):
return args
def install(self, spec, prefix):
def install(self, pkg, spec, prefix):
# Make sure the path to the provided libtool is used instead of the system one
filter_file(
r"autoreconf -fi",
f"autoreconf -fi -I {self.spec['libtool'].prefix.share.aclocal}",
f"autoreconf -fi -I {pkg.spec['libtool'].prefix.share.aclocal}",
"AMEGIC++/Main/makelibs",
)
make("install")