summaryrefslogtreecommitdiff
path: root/src/lib/emotion/meson.build
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2020-05-18 09:48:17 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-05-18 09:51:48 +0100
commit3ade45cbc82bea1772c7ad1afb7e1ba5dd67d930 (patch)
tree3b3b3329e8419ddb8021ddc4cca2f52d391b939d /src/lib/emotion/meson.build
parentfe56edae3f5015c62e319d5e2ab2552d3533eead (diff)
Fix EAPI definition by defining EFL_BUILD for each built DLL
Summary: EAPI must be defined to dllexport when building DLL, and to dllimport when using these DLL. To achieve this, define EFL_BUILD for each library and module, and set DLL_EXPORT unconditionally. Static library are and will be not supported Test Plan: compilation Reviewers: zmike, raster, jptiz Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11834
Diffstat (limited to '')
-rw-r--r--src/lib/emotion/meson.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/emotion/meson.build b/src/lib/emotion/meson.build
index 6f2717dfa6..0dd07f845c 100644
--- a/src/lib/emotion/meson.build
+++ b/src/lib/emotion/meson.build
@@ -44,17 +44,17 @@ if get_option('eeze') == true
44 emotion_deps += [eeze] 44 emotion_deps += [eeze]
45endif 45endif
46 46
47emotion_c_args = package_c_args + [ '-DEFL_BUILD' ]
48
47emotion_lib = library('emotion', 49emotion_lib = library('emotion',
48 emotion_src, pub_eo_file_target, priv_eo_file_target, 50 emotion_src, pub_eo_file_target, priv_eo_file_target,
49 dependencies: emotion_deps + emotion_pub_deps, 51 dependencies: emotion_deps + emotion_pub_deps,
50 include_directories : config_dir + [include_directories('.')], 52 include_directories : config_dir + [include_directories('.')],
51 install: true, 53 install: true,
52 c_args : package_c_args, 54 c_args : emotion_c_args,
53 version : meson.project_version() 55 version : meson.project_version()
54) 56)
55 57
56emotion_package_c_args = package_c_args
57
58emotion = declare_dependency( 58emotion = declare_dependency(
59 include_directories: [include_directories('.')], 59 include_directories: [include_directories('.')],
60 link_with: emotion_lib, 60 link_with: emotion_lib,