Commit 5d7fdd53 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

build-tools: Need xz on all non-Linux platforms

parent dfefdf62
......@@ -42,7 +42,6 @@ class BuildTools (BootstraperBase):
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, 'xz')
self.BUILD_TOOLS.insert(0, 'tar')
if self.config.target_platform == Platform.IOS:
self.BUILD_TOOLS.append('gas-preprocessor')
......@@ -50,6 +49,9 @@ class BuildTools (BootstraperBase):
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
......
Supports Markdown
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