summaryrefslogtreecommitdiff
path: root/src/lib/ecore_win32
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/ecore_win32
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/ecore_win32')
-rw-r--r--src/lib/ecore_win32/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/ecore_win32/meson.build b/src/lib/ecore_win32/meson.build
index 1bb4589f28..48867e6a43 100644
--- a/src/lib/ecore_win32/meson.build
+++ b/src/lib/ecore_win32/meson.build
@@ -20,12 +20,14 @@ if sys_windows == true
20 'Ecore_Win32.h' 20 'Ecore_Win32.h'
21 ] 21 ]
22 22
23 ecore_win32_c_args = package_c_args + [ '-DEFL_BUILD' ]
24
23 ecore_win32_lib = library('ecore_win32', 25 ecore_win32_lib = library('ecore_win32',
24 ecore_win32_src, 26 ecore_win32_src,
25 dependencies: ecore_win32_deps + ecore_win32_pub_deps, 27 dependencies: ecore_win32_deps + ecore_win32_pub_deps,
26 include_directories : config_dir, 28 include_directories : config_dir,
27 install: true, 29 install: true,
28 c_args : package_c_args, 30 c_args : ecore_win32_c_args,
29 ) 31 )
30 32
31 ecore_win32 = declare_dependency( 33 ecore_win32 = declare_dependency(