forked from enlightenment/efl
meson: be a bit more helpfull when it comes to bindings
Summary: for now meson would have just used the order that you pass in via -Dbindings=mono,cxx. However this leads to bugs, as cxx for example must be declared before mono can be declared. This fixes this error by forcing a order. Reviewers: zmike, segfaultxavi Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8341
This commit is contained in:
parent
aa7ec61664
commit
68a0bfda51
|
@ -422,9 +422,12 @@ if get_option('eolian-bootstrap') == false
|
|||
subdir(join_paths('src', 'generic', 'emotion'))
|
||||
|
||||
bindings = get_option('bindings')
|
||||
bindings_order = ['luajit', 'cxx', 'mono']
|
||||
|
||||
foreach binding : bindings
|
||||
foreach binding : bindings_order
|
||||
if bindings.contains(binding)
|
||||
subdir(join_paths('src', 'bindings', binding))
|
||||
endif
|
||||
endforeach
|
||||
|
||||
subdir(join_paths('src', 'edje_external'))
|
||||
|
|
Loading…
Reference in New Issue