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_evas | |
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 'src/lib/ecore_evas')
-rw-r--r-- | src/lib/ecore_evas/meson.build | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_evas/meson.build b/src/lib/ecore_evas/meson.build index 890e3c42b3..7d2018ca32 100644 --- a/src/lib/ecore_evas/meson.build +++ b/src/lib/ecore_evas/meson.build | |||
@@ -27,9 +27,11 @@ ecore_evas_src = [ | |||
27 | 'ecore_evas_fallback_selection.c' | 27 | 'ecore_evas_fallback_selection.c' |
28 | ] | 28 | ] |
29 | 29 | ||
30 | ecore_evas_c_args = [ '-DEFL_BUILD' ] | ||
30 | 31 | ||
31 | ecore_evas_lib = library('ecore_evas', | 32 | ecore_evas_lib = library('ecore_evas', |
32 | ecore_evas_src, pub_eo_file_target, | 33 | ecore_evas_src, pub_eo_file_target, |
34 | c_args: ecore_evas_c_args, | ||
33 | dependencies: [ecore_evas_deps, buildsystem], | 35 | dependencies: [ecore_evas_deps, buildsystem], |
34 | include_directories : config_dir, | 36 | include_directories : config_dir, |
35 | install: true, | 37 | install: true, |