summaryrefslogtreecommitdiff
path: root/src/lib/ecore_input
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/ecore_input
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 'src/lib/ecore_input')
-rw-r--r--src/lib/ecore_input/meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_input/meson.build b/src/lib/ecore_input/meson.build
index c57ec4e04c..745d5b5d83 100644
--- a/src/lib/ecore_input/meson.build
+++ b/src/lib/ecore_input/meson.build
@@ -17,9 +17,11 @@ if get_option('eeze')
17 ecore_input_deps += eeze 17 ecore_input_deps += eeze
18endif 18endif
19 19
20ecore_input_c_args = [ '-DEFL_BUILD' ]
20 21
21ecore_input_lib = library('ecore_input', 22ecore_input_lib = library('ecore_input',
22 ecore_input_src, pub_eo_file_target, 23 ecore_input_src, pub_eo_file_target,
24 c_args: ecore_input_c_args,
23 dependencies: ecore_input_pub_deps + ecore_input_deps, 25 dependencies: ecore_input_pub_deps + ecore_input_deps,
24 include_directories : config_dir, 26 include_directories : config_dir,
25 install: true, 27 install: true,