summaryrefslogtreecommitdiff
path: root/src/lib/evil
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/evil
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/evil')
-rw-r--r--src/lib/evil/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/evil/meson.build b/src/lib/evil/meson.build
index 4769e58054..87a7d4c8e4 100644
--- a/src/lib/evil/meson.build
+++ b/src/lib/evil/meson.build
@@ -23,7 +23,10 @@ if target_machine.system() == 'windows'
23 secur32 = cc.find_library('secur32') 23 secur32 = cc.find_library('secur32')
24 uuid = cc.find_library('uuid') 24 uuid = cc.find_library('uuid')
25 25
26 evil_c_args = [ '-DEFL_BUILD' ]
27
26 evil_lib = library('evil', evil_src, 28 evil_lib = library('evil', evil_src,
29 c_args : evil_c_args,
27 dependencies : [psapi, ole32, ws2_32, secur32, uuid, regexp], 30 dependencies : [psapi, ole32, ws2_32, secur32, uuid, regexp],
28 include_directories : [config_dir], 31 include_directories : [config_dir],
29 install: true, 32 install: true,