the error
```
./src/modules/evas/engines/gl_generic/../software_generic/evas_ector_software.h:31:10: fatal error: 'evas_ector_software_buffer.eo.h' file not found
```
Came up when building efl on osx with meson. This is caused by the fact that gl_generic was build before the .eo files of evas_ector have been created in software_generic, this fixes this race condition by adding a new dependency to avoid that.
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D7831
if get_option('evas-modules') == 'shared' and not evas_force_static.contains(engine)
shared_module(mod_full_name, engine_src,
include_directories : config_dir + [engine_include_dir],
- dependencies : [eina, evas_pre] + engine_deps,
+ dependencies : [eina, evas_pre] + engine_deps + [software_generic],
install : true,
install_dir : mod_install_dir,
name_suffix : sys_mod_extension
dependencies : [eina, evas_pre] + engine_deps,
)
+ if engine == 'software_generic'
+ software_generic = declare_dependency(
+ include_directories: engine_include_dir,
+ link_with : tmp
+ )
+ endif
if engine == 'gl_common'
#gl_common will only be used by gl_generic, NOT by libevas.so, so we work arround the static list
gl_common = declare_dependency(