summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2020-05-18 17:46:55 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-05-26 10:15:21 +0200
commit3ca9d7282515c688f79aa7d6db34eaf33804096f (patch)
tree302b8aec11f4aeed23dd43397180b294311317af /src/lib/elementary
parent59127058afd3f1259a0dfc438ca387fa02b72ccc (diff)
build: lib: harmonize the use of package_c_args in all libs
Add it to subprojects which are not using it and remove and old ELEMENTARY_BUILD define we no longer use. This allows us to have a central place in the main meson.build file to set this variable. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Reviewed-by: Vincent Torri <vincent.torri@gmail.com> Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D11854
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elementary/meson.build b/src/lib/elementary/meson.build
index eb5c9e674f..f2e7ed96fb 100644
--- a/src/lib/elementary/meson.build
+++ b/src/lib/elementary/meson.build
@@ -1008,7 +1008,8 @@ c = configure_file(
1008 install_dir : dir_package_include, 1008 install_dir : dir_package_include,
1009 configuration: elm_options) 1009 configuration: elm_options)
1010 1010
1011elm_package_c_args = package_c_args + ['-DELEMENTARY_BUILD=1'] 1011# Save in extra variable here to pass to edje_external
1012elm_package_c_args = package_c_args
1012 1013
1013elementary_lib = library('elementary', 1014elementary_lib = library('elementary',
1014 elementary_src, pub_eo_file_target, priv_eo_file_target, c, embed_config, 1015 elementary_src, pub_eo_file_target, priv_eo_file_target, c, embed_config,