summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-03-26 19:44:26 +0000
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-03-26 20:47:28 +0100
commita3802e18e95d2ba85454d9d45881b53452fb1aa2 (patch)
treefc0423fb19bc8879b38205188bcfe2d056d73179
parent624dc305f4f72a427ecfb101e54dc143c42eab67 (diff)
build-tools: fix build in chroots with older glibc
build_tools_prefix must be set in the new config to avoid using the default one when it's set, which fixes the build in chroots with old glibc
-rw-r--r--cerbero/bootstrap/build_tools.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/cerbero/bootstrap/build_tools.py b/cerbero/bootstrap/build_tools.py
index c08ca69..de59793 100644
--- a/cerbero/bootstrap/build_tools.py
+++ b/cerbero/bootstrap/build_tools.py
@@ -56,8 +56,11 @@ class BuildTools (BootstraperBase):
os.environ.clear()
os.environ.update(self.config._pre_environ)
config.prefix = self.config.build_tools_prefix
+ config.build_tools_prefix = self.config.build_tools_prefix
config.sources = self.config.build_tools_sources
+ config.build_tools_sources = self.config.build_tools_sources
config.cache_file = self.config.build_tools_cache
+ config.build_tools_cache = self.config.build_tools_cache
config.load()
if not os.path.exists(config.prefix):