summaryrefslogtreecommitdiff
path: root/src/lib/emile
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/emile
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/emile')
-rw-r--r--src/lib/emile/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/emile/meson.build b/src/lib/emile/meson.build
index 4ae888c42a..e894dd20ac 100644
--- a/src/lib/emile/meson.build
+++ b/src/lib/emile/meson.build
@@ -23,8 +23,11 @@ elif (get_option('crypto') == 'openssl')
23 emile_src += 'emile_cipher_openssl.c' 23 emile_src += 'emile_cipher_openssl.c'
24endif 24endif
25 25
26emile_c_args = [ '-DEFL_BUILD' ]
27
26emile_lib = library('emile', 28emile_lib = library('emile',
27 emile_src, 29 emile_src,
30 c_args : emile_c_args,
28 include_directories: config_dir, 31 include_directories: config_dir,
29 dependencies: emile_pub_deps + emile_deps + [lz4, rg_etc, m], 32 dependencies: emile_pub_deps + emile_deps + [lz4, rg_etc, m],
30 install: true, 33 install: true,