q66 pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=ddce3fc8a75c95af8ff9526e03a24440052dda8c
commit ddce3fc8a75c95af8ff9526e03a24440052dda8c Author: Daniel Kolesa <[email protected]> Date: Thu Oct 25 14:31:38 2018 +0200 meson: restore generation of legacy header files in elementary While this is probably not entirely correct, it restores the previous behavior. A proper fix would be to move .eo files that do require header files into the pub_legacy_eo_files section but that will require more effort and care. So until that is fixed, just generate legacy as usual. --- src/lib/elementary/meson.build | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/lib/elementary/meson.build b/src/lib/elementary/meson.build index 31bc4fede2..2b14c77853 100644 --- a/src/lib/elementary/meson.build +++ b/src/lib/elementary/meson.build @@ -288,6 +288,16 @@ foreach eo_file : pub_eo_files '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'), '-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.d'), '-gchd', '@INPUT@']) + pub_eo_file_target += custom_target('eolian_gen_legacy_' + eo_file, + input : eo_file, + output : [eo_file + '.legacy.h'], + depfile : eo_file + '.legacy.d', + install : true, + install_dir : dir_package_include, + command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories, + '-o', 'l:' + join_paths(meson.current_build_dir(), eo_file + '.legacy.h'), + '-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.legacy.d'), + '-gld', '@INPUT@']) endforeach --
