Commit 6470bcda authored by Felix Hädicke's avatar Felix Hädicke Committed by Max Kellermann

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

parent 2d51349d
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment