diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2020-05-18 09:48:17 +0100 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2020-05-18 09:51:48 +0100 |
commit | 3ade45cbc82bea1772c7ad1afb7e1ba5dd67d930 (patch) | |
tree | 3b3b3329e8419ddb8021ddc4cca2f52d391b939d /src/lib/ecore_input_evas/meson.build | |
parent | fe56edae3f5015c62e319d5e2ab2552d3533eead (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/ecore_input_evas/meson.build | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_input_evas/meson.build b/src/lib/ecore_input_evas/meson.build index 8b48142f7d..5deb298796 100644 --- a/src/lib/ecore_input_evas/meson.build +++ b/src/lib/ecore_input_evas/meson.build | |||
@@ -11,9 +11,11 @@ ecore_input_evas_src = [ | |||
11 | 'ecore_input_evas_private.h', | 11 | 'ecore_input_evas_private.h', |
12 | ] | 12 | ] |
13 | 13 | ||
14 | ecore_input_evas_c_args = [ '-DEFL_BUILD' ] | ||
14 | 15 | ||
15 | ecore_input_evas_lib = library('ecore_input_evas', | 16 | ecore_input_evas_lib = library('ecore_input_evas', |
16 | ecore_input_evas_src, pub_eo_file_target, | 17 | ecore_input_evas_src, pub_eo_file_target, |
18 | c_args : ecore_input_evas_c_args, | ||
17 | dependencies: ecore_input_evas_pub_deps + ecore_input_evas_deps, | 19 | dependencies: ecore_input_evas_pub_deps + ecore_input_evas_deps, |
18 | include_directories : config_dir, | 20 | include_directories : config_dir, |
19 | install: true, | 21 | install: true, |