summaryrefslogtreecommitdiff
path: root/src/lib/eo
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/eo
parent59127058afd3f1259a0dfc438ca387fa02b72ccc (diff)
downloadefl-3ca9d7282515c688f79aa7d6db34eaf33804096f.tar.gz
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/eo')
-rw-r--r--src/lib/eo/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/eo/meson.build b/src/lib/eo/meson.build
index 83eedb0de7..1360276e60 100644
--- a/src/lib/eo/meson.build
+++ b/src/lib/eo/meson.build
@@ -60,6 +60,7 @@ eolian_include_directories += ['-I', meson.current_source_dir()]
eo_lib = library('eo',
eo_src, pub_eo_file_target,
+ c_args : package_c_args,
dependencies: [eina, valgrind, dl, execinfo],
install: true,
version : meson.project_version()
@@ -67,9 +68,9 @@ eo_lib = library('eo',
eo_lib_dbg = library('eo_dbg',
eo_src, pub_eo_file_target,
+ c_args : package_c_args + [ '-DEO_DEBUG' ],
dependencies: [eina, valgrind, dl, execinfo],
install: true,
- c_args : '-DEO_DEBUG',
version : meson.project_version()
)