| Index: pylib/gyp/input.py
|
| diff --git a/pylib/gyp/input.py b/pylib/gyp/input.py
|
| index 723183feb838764d8bc709cdc565daa12f6b25e2..fee2a16d539d0562b62baa943b238de3daea2393 100644
|
| --- a/pylib/gyp/input.py
|
| +++ b/pylib/gyp/input.py
|
| @@ -2236,7 +2236,8 @@ def Load(build_files, variables, includes, depth, generator_input_info, check,
|
| # Make sure static libraries don't declare dependencies on other static
|
| # libraries, but that linkables depend on all unlinked static libraries
|
| # that they need so that their link steps will be correct.
|
| - AdjustStaticLibraryDependencies(flat_list, targets, dependency_nodes)
|
| + if generator_input_info['generator_wants_flattened_static_libraries']:
|
| + AdjustStaticLibraryDependencies(flat_list, targets, dependency_nodes)
|
|
|
| # Apply "post"/"late"/"target" variable expansions and condition evaluations.
|
| for target in flat_list:
|
|
|