From 3ca9d7282515c688f79aa7d6db34eaf33804096f Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Mon, 18 May 2020 17:46:55 +0200 Subject: build: lib: harmonize the use of package_c_args in all libs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Vincent Torri Reviewed-by: João Paulo Taylor Ienczak Zanette Differential Revision: https://phab.enlightenment.org/D11854 --- src/lib/emotion/meson.build | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/lib/emotion/meson.build') diff --git a/src/lib/emotion/meson.build b/src/lib/emotion/meson.build index 6f2717dfa6..e779a39248 100644 --- a/src/lib/emotion/meson.build +++ b/src/lib/emotion/meson.build @@ -44,17 +44,18 @@ if get_option('eeze') == true emotion_deps += [eeze] endif +# Save in extra variable here to pass to edje_externa +emotion_package_c_args = package_c_args + emotion_lib = library('emotion', emotion_src, pub_eo_file_target, priv_eo_file_target, dependencies: emotion_deps + emotion_pub_deps, include_directories : config_dir + [include_directories('.')], install: true, - c_args : package_c_args, + c_args : emotion_package_c_args, version : meson.project_version() ) -emotion_package_c_args = package_c_args - emotion = declare_dependency( include_directories: [include_directories('.')], link_with: emotion_lib, -- cgit v1.2.1