summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-04-28 20:22:06 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-05-06 13:37:35 +0200
commit4a6b2824cc5e51057632834714895613838acf92 (patch)
treeb6987df9a480dd0d1c6e87c5e85097ca68c6e259
parentc403c74a4340f5c4c8d9459e817f1b0f319258ae (diff)
bootstrap: build yasm >= 1.0 in lucid for x264
-rw-r--r--cerbero/bootstrap/build_tools.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/cerbero/bootstrap/build_tools.py b/cerbero/bootstrap/build_tools.py
index 9f0ac44..ddbe968 100644
--- a/cerbero/bootstrap/build_tools.py
+++ b/cerbero/bootstrap/build_tools.py
@@ -43,6 +43,10 @@ class BuildTools (BootstraperBase):
self.BUILD_TOOLS.append('gperf')
self.BUILD_TOOLS.insert(0, 'tar')
self.BUILD_TOOLS.insert(0, 'xz')
+ if self.config.platform == Platform.LINUX:
+ if self.config.distro_version == DistroVersion.UBUNTU_LUCID:
+ # x264 requires yasm >= 1.0
+ self.BUILD_TOOLS.append('yasm')
if self.config.target_platform == Platform.IOS:
self.BUILD_TOOLS.append('gas-preprocessor')
if self.config.platform != Platform.LINUX and\