summaryrefslogtreecommitdiff
path: root/src/lib/ecore_file/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_file/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/ecore_file/meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_file/meson.build b/src/lib/ecore_file/meson.build
index 727c3d372c..8cf9b23e57 100644
--- a/src/lib/ecore_file/meson.build
+++ b/src/lib/ecore_file/meson.build
@@ -19,9 +19,11 @@ endif
19 19
20ecore_file_header_src = ['Ecore_File.h'] 20ecore_file_header_src = ['Ecore_File.h']
21 21
22ecore_file_c_args = [ '-DEFL_BUILD' ]
22 23
23ecore_file_lib = library('ecore_file', 24ecore_file_lib = library('ecore_file',
24 ecore_file_src, 25 ecore_file_src,
26 c_args : ecore_file_c_args,
25 dependencies: ecore_file_deps + ecore_file_pub_deps + ecore_file_deps, 27 dependencies: ecore_file_deps + ecore_file_pub_deps + ecore_file_deps,
26 include_directories : config_dir + [include_directories(join_paths('..','..'))], 28 include_directories : config_dir + [include_directories(join_paths('..','..'))],
27 install: true, 29 install: true,