python/build/autotools: do not use absolute path for autotools
This commit is contained in:
parent
2d51349d1d
commit
6470bcda19
|
@ -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(['libtoolize', '--force'], cwd=src)
|
||||||
subprocess.check_call(['/usr/bin/aclocal'], cwd=src)
|
subprocess.check_call(['aclocal'], cwd=src)
|
||||||
subprocess.check_call(['/usr/bin/automake', '--add-missing', '--force-missing', '--foreign'], cwd=src)
|
subprocess.check_call(['automake', '--add-missing', '--force-missing', '--foreign'], cwd=src)
|
||||||
subprocess.check_call(['/usr/bin/autoconf'], cwd=src)
|
subprocess.check_call(['autoconf'], cwd=src)
|
||||||
|
|
||||||
build = self.make_build_path(toolchain)
|
build = self.make_build_path(toolchain)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue