Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nirbheek Chauhan
cerbero
Commits
5d7fdd53
Commit
5d7fdd53
authored
Mar 07, 2013
by
Sebastian Dröge
Browse files
build-tools: Need xz on all non-Linux platforms
parent
dfefdf62
Changes
1
Hide whitespace changes
Inline
Side-by-side
cerbero/bootstrap/build_tools.py
View file @
5d7fdd53
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment