From e1b9c8c4d98f4094bb6a4cf0ef64a6bd3b60bcec Mon Sep 17 00:00:00 2001 From: Mads Kiilerich Date: Thu, 27 Jan 2022 21:47:56 +0100 Subject: [PATCH] wscript: handle libs/clearlooks-newer like all other children Put it in the "children" list instead of recursing explicitly. The only difference is that the (empty) options function in libs/clearlooks-newer/wscript now will be invoked - before it wasn't. --- wscript | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/wscript b/wscript index 90bcff68fe..42b498e11e 100644 --- a/wscript +++ b/wscript @@ -299,6 +299,7 @@ top = '.' out = 'build' children = [ + 'libs/clearlooks-newer', # optionally external libraries 'libs/fluidsynth', 'libs/hidapi', @@ -1479,8 +1480,6 @@ int main () { __int128 x = 0; return 0; } if not (Options.options.dist_target == 'mingw' or Options.options.dist_target == 'msvc'): conf.env.append_value('LIB', 'm') - sub_config_and_use(conf, 'libs/clearlooks-newer') - for i in children: sub_config_and_use(conf, i) @@ -1638,8 +1637,6 @@ def build(bld): obj.chmod = Utils.O755 obj.install_path = bld.env['LIBDIR'] - bld.recurse('libs/clearlooks-newer') - for i in children: bld.recurse(i)