summaryrefslogtreecommitdiff
path: root/src/lib/eina/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/eina/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/eina/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build
index ce7cfe84f1..c8dbe3904a 100644
--- a/src/lib/eina/meson.build
+++ b/src/lib/eina/meson.build
@@ -361,7 +361,10 @@ endif
361 361
362execinfo = cc.find_library('execinfo', required: false) 362execinfo = cc.find_library('execinfo', required: false)
363 363
364eina_c_args = [ '-DEFL_BUILD' ]
365
364eina_lib = library('eina', sources, 366eina_lib = library('eina', sources,
367 c_args : eina_c_args,
365 include_directories : config_dir, 368 include_directories : config_dir,
366 dependencies: [m, rt, dl, execinfo, iconv, eina_deps, thread_dep, eina_mem_pools, evil], 369 dependencies: [m, rt, dl, execinfo, iconv, eina_deps, thread_dep, eina_mem_pools, evil],
367 install: true, 370 install: true,