python/build/autotools: do not use absolute path for autotools

This commit is contained in:
Felix Hädicke 2015-11-30 23:44:57 +01:00 committed by Max Kellermann
parent 2d51349d1d
commit 6470bcda19
1 changed files with 4 additions and 4 deletions

View File

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