summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/software_ddraw/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/evas/engines/software_ddraw/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 'src/modules/evas/engines/software_ddraw/meson.build')
-rw-r--r--src/modules/evas/engines/software_ddraw/meson.build6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/evas/engines/software_ddraw/meson.build b/src/modules/evas/engines/software_ddraw/meson.build
index 9b742757fa..8774908feb 100644
--- a/src/modules/evas/engines/software_ddraw/meson.build
+++ b/src/modules/evas/engines/software_ddraw/meson.build
@@ -7,9 +7,13 @@ engine_src = files([
7 7
8engine_deps = [cc.find_library('ddraw')] 8engine_deps = [cc.find_library('ddraw')]
9 9
10evas_mod_software_ddraw_c_args = [ '-DEFL_BUILD' ]
11evas_mod_software_ddraw_cpp_args = ['-fno-rtti', '-fno-exceptions']
12
10shared_module(mod_full_name, engine_src, 13shared_module(mod_full_name, engine_src,
14 c_args: evas_mod_software_ddraw_c_args,
15 cpp_args: evas_mod_software_ddraw_cpp_args,
11 include_directories : config_dir + [engine_include_dir], 16 include_directories : config_dir + [engine_include_dir],
12 cpp_args: ['-fno-rtti', '-fno-exceptions'],
13 dependencies : [eina, evas] + engine_deps, 17 dependencies : [eina, evas] + engine_deps,
14 install : true, 18 install : true,
15 install_dir : mod_install_dir, 19 install_dir : mod_install_dir,