python/build/autotools: move libtoolize call up

autoconf depends on libtoolize.
This commit is contained in:
Max Kellermann 2016-10-26 11:01:11 +02:00
parent 2f2b394d72
commit 2d51349d1d

View File

@ -15,10 +15,10 @@ class AutotoolsProject(Project):
def build(self, toolchain): def build(self, toolchain):
src = self.unpack(toolchain) src = self.unpack(toolchain)
if self.autogen: if self.autogen:
subprocess.check_call(['/usr/bin/libtoolize', '--force'], cwd=src)
subprocess.check_call(['/usr/bin/aclocal'], cwd=src) subprocess.check_call(['/usr/bin/aclocal'], cwd=src)
subprocess.check_call(['/usr/bin/automake', '--add-missing', '--force-missing', '--foreign'], cwd=src) subprocess.check_call(['/usr/bin/automake', '--add-missing', '--force-missing', '--foreign'], cwd=src)
subprocess.check_call(['/usr/bin/autoconf'], cwd=src) subprocess.check_call(['/usr/bin/autoconf'], cwd=src)
subprocess.check_call(['/usr/bin/libtoolize', '--force'], cwd=src)
build = self.make_build_path(toolchain) build = self.make_build_path(toolchain)