Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ifs
sconsider
Commits
0dd877c9
Commit
0dd877c9
authored
Dec 16, 2020
by
Marcel Huber
Browse files
add install tool if not available
parent
13bd2bb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
SConsider/site_tools/SystemLibsInstallBuilder.py
View file @
0dd877c9
...
...
@@ -128,6 +128,13 @@ def installSystemLibs(source):
env
.
Depends
(
aliasPrefix
+
sourcenode
.
name
,
source_syslibs
)
def
prePackageCollection
(
env
,
**
_
):
# ensure we have getBitwidth() and other functions available
for
required_tool
in
[
'install'
]:
if
required_tool
not
in
env
[
'TOOLS'
]:
env
.
Tool
(
required_tool
)
def
generate
(
env
,
*
args
,
**
kw
):
from
SCons.Action
import
ActionFactory
"""Add the options, builders and wrappers to the current Environment."""
...
...
Write
Preview
Markdown
is supported
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