summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas/engines/win32/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/modules/ecore_evas/engines/win32/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/modules/ecore_evas/engines/win32/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/ecore_evas/engines/win32/meson.build b/src/modules/ecore_evas/engines/win32/meson.build
index 65fbfc1bb1..4f0889317b 100644
--- a/src/modules/ecore_evas/engines/win32/meson.build
+++ b/src/modules/ecore_evas/engines/win32/meson.build
@@ -5,7 +5,10 @@ config_h.set('BUILD_ECORE_EVAS_SOFTWARE_GDI', '1')
5 5
6engine_deps = [engine_software_ddraw, engine_software_gdi] 6engine_deps = [engine_software_ddraw, engine_software_gdi]
7 7
8ecore_evas_mod_win32_c_args = [ '-DEFL_BUILD' ]
9
8shared_module(mod_full_name, engine_src, 10shared_module(mod_full_name, engine_src,
11 c_args : ecore_evas_mod_win32_c_args,
9 include_directories : config_dir + [engine_include_dir], 12 include_directories : config_dir + [engine_include_dir],
10 dependencies : [eina, ecore_win32, ecore_input, ecore_evas, ecore_input_evas] + engine_deps, 13 dependencies : [eina, ecore_win32, ecore_input, ecore_evas, ecore_input_evas] + engine_deps,
11 install : true, 14 install : true,