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.
This commit is contained in:
Mads Kiilerich 2022-01-27 21:47:56 +01:00 committed by Paul Davis
parent 8fea606b32
commit e1b9c8c4d9
1 changed files with 1 additions and 4 deletions

View File

@ -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)