summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript12
1 files changed, 6 insertions, 6 deletions
diff --git a/wscript b/wscript
index 935279114b..c4d0c9c8b0 100644
--- a/wscript
+++ b/wscript
@@ -1053,6 +1053,12 @@ def configure(ctx):
ctx.find_program('rst2pdf', var='RST2PDF', mandatory=False)
ctx.find_program(windres, var='WINDRES', mandatory=False)
+ ctx.load('compiler_c')
+ ctx.load('waf_customizations')
+ ctx.load('dependencies')
+ ctx.load('detections.compiler')
+ ctx.load('detections.devices')
+
for ident, _, _ in _INSTALL_DIRS_LIST:
varname = ident.upper()
ctx.env[varname] = getattr(ctx.options, ident)
@@ -1061,12 +1067,6 @@ def configure(ctx):
while re.match('\$\{([^}]+)\}', ctx.env[varname]):
ctx.env[varname] = Utils.subst_vars(ctx.env[varname], ctx.env)
- ctx.load('compiler_c')
- ctx.load('waf_customizations')
- ctx.load('dependencies')
- ctx.load('detections.compiler')
- ctx.load('detections.devices')
-
ctx.parse_dependencies(build_options)
ctx.parse_dependencies(main_dependencies)
ctx.parse_dependencies(audio_output_features)