summaryrefslogtreecommitdiff
path: root/src/lib/ecore_imf/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/ecore_imf/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 'src/lib/ecore_imf/meson.build')
-rw-r--r--src/lib/ecore_imf/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ecore_imf/meson.build b/src/lib/ecore_imf/meson.build
index 978594d20a..1dd94241e4 100644
--- a/src/lib/ecore_imf/meson.build
+++ b/src/lib/ecore_imf/meson.build
@@ -12,12 +12,13 @@ ecore_imf_src = [
12 'ecore_imf_private.h', 12 'ecore_imf_private.h',
13] 13]
14 14
15ecore_imf_c_args = package_c_args + [ '-DEFL_BUILD' ]
15 16
16ecore_imf_lib = library('ecore_imf', 17ecore_imf_lib = library('ecore_imf',
17 ecore_imf_src, pub_eo_file_target, 18 ecore_imf_src, pub_eo_file_target,
18 dependencies: [buildsystem, ecore_imf_deps, ecore_imf_pub_deps], 19 dependencies: [buildsystem, ecore_imf_deps, ecore_imf_pub_deps],
19 include_directories : config_dir, 20 include_directories : config_dir,
20 c_args : package_c_args, 21 c_args : ecore_imf_c_args,
21 install: true, 22 install: true,
22 version : meson.project_version() 23 version : meson.project_version()
23) 24)