From: Marcel Hollerbach Date: Wed, 27 May 2020 12:38:32 +0000 (+0200) Subject: build: efl-one track all subdirs correctly X-Git-Tag: accepted/tizen/unified/20200604.164556~62 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1c8a0d19262c5d7eb1a08a848c49ca80e80b9c2e;p=platform%2Fupstream%2Fefl.git build: efl-one track all subdirs correctly this was missed before, so the subdirectories have not been correctly added. With this you can now simply build with efl-one with including Reviewed-by: Stefan Schmidt Differential Revision: https://phab.enlightenment.org/D11893 --- diff --git a/meson.build b/meson.build index d6d230d..b8267a6 100644 --- a/meson.build +++ b/meson.build @@ -361,6 +361,7 @@ efl_one_parts = [] efl_one_deps = [] efl_one_eo_deps = [] efl_one_include_dirs = [] +efl_one_sub_dirs = [] tmp_empty = declare_dependency() foreach package : subprojects @@ -462,7 +463,9 @@ foreach package : subprojects foreach subdir : package_header_subdirs tmp_package_subdirs += join_paths(package_version_name, subdir) endforeach - + if (package[8] and get_option('efl-one')) + efl_one_sub_dirs += [package_version_name] + tmp_package_subdirs + endif pkgconfig.generate(tmp_lib, name : '-'.join(package_name.split('_')), subdirs : [package_version_name] + tmp_package_subdirs, @@ -513,6 +516,7 @@ if (get_option('efl-one')) pkgconfig.generate( name : 'efl-one', + subdirs : efl_one_sub_dirs, description: 'Configureation for efl in one big fat .so', libraries : [efl_one] + eina_pc_deps, #eina is a special case here which drags in m dl & threads )