summaryrefslogtreecommitdiff
path: root/src/lib/ethumb_client
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/ethumb_client
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/ethumb_client')
-rw-r--r--src/lib/ethumb_client/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/ethumb_client/meson.build b/src/lib/ethumb_client/meson.build
index bddbab1d8d..e05f0f4ba2 100644
--- a/src/lib/ethumb_client/meson.build
+++ b/src/lib/ethumb_client/meson.build
@@ -13,12 +13,14 @@ ethumb_client_deps = [
13 13
14ethumb_client_pub_deps = [eina, eo, efl, ethumb] 14ethumb_client_pub_deps = [eina, eo, efl, ethumb]
15 15
16ethumb_client_c_args = package_c_args + [ '-DEFL_BUILD' ]
17
16ethumb_client_lib = library('ethumb_client', 18ethumb_client_lib = library('ethumb_client',
17 ethumb_client_src, 19 ethumb_client_src,
18 dependencies: ethumb_client_pub_deps + ethumb_client_deps, 20 dependencies: ethumb_client_pub_deps + ethumb_client_deps,
19 include_directories : config_dir + [include_directories('.')], 21 include_directories : config_dir + [include_directories('.')],
20 install: true, 22 install: true,
21 c_args : package_c_args, 23 c_args : ethumb_client_c_args,
22 version : meson.project_version() 24 version : meson.project_version()
23) 25)
24 26