diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-03-19 20:53:16 +0100 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-03-19 20:53:16 +0100 |
commit | 4a91f308be242390186638ece60a89c4e929684b (patch) | |
tree | 80fd9f541bcd051a47596032ed9dcf4f88fb4b45 | |
parent | 8694f61698602588ca619c64750fb63f197d4467 (diff) |
build-tools: onyl build tar/xz in OSX
-rw-r--r-- | cerbero/bootstrap/build_tools.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/cerbero/bootstrap/build_tools.py b/cerbero/bootstrap/build_tools.py index d24a65d..c08ca69 100644 --- a/cerbero/bootstrap/build_tools.py +++ b/cerbero/bootstrap/build_tools.py @@ -40,20 +40,14 @@ class BuildTools (BootstraperBase): self.BUILD_TOOLS.append('gperf') if self.config.platform == Platform.DARWIN: self.BUILD_TOOLS.append('gperf') - # We need tar with support for .xz in Snow Leopard - if self.config.distro_version in [DistroVersion.OS_X_LION, - DistroVersion.OS_X_SNOW_LEOPARD, - DistroVersion.OS_X_LEOPARD]: - self.BUILD_TOOLS.insert(0, 'tar') + self.BUILD_TOOLS.insert(0, 'tar') + self.BUILD_TOOLS.insert(0, 'xz') if self.config.target_platform == Platform.IOS: self.BUILD_TOOLS.append('gas-preprocessor') if self.config.platform != Platform.LINUX and\ not self.config.prefix_is_executable(): # For glib-mkenums and glib-genmarshal self.BUILD_TOOLS.append('glib-tools') - # We need xz on all non-Linux platforms - if self.config.platform != Platform.LINUX: - self.BUILD_TOOLS.insert(0, 'xz') def start(self): # Use a common prefix for the build tools for all the configurations |