diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2020-05-18 09:48:17 +0100 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2020-05-18 09:51:48 +0100 |
commit | 3ade45cbc82bea1772c7ad1afb7e1ba5dd67d930 (patch) | |
tree | 3b3b3329e8419ddb8021ddc4cca2f52d391b939d /src/lib/efl | |
parent | fe56edae3f5015c62e319d5e2ab2552d3533eead (diff) | |
download | efl-3ade45cbc82bea1772c7ad1afb7e1ba5dd67d930.tar.gz |
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/efl')
-rw-r--r-- | src/lib/efl/meson.build | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/efl/meson.build b/src/lib/efl/meson.build index d5805be9b3..152dfb0e3c 100644 --- a/src/lib/efl/meson.build +++ b/src/lib/efl/meson.build @@ -11,8 +11,11 @@ efl_src = [] subdir('interfaces') package_header_subdirs += 'interfaces' +efl_c_args = [ '-DEFL_BUILD' ] + efl_lib = library('efl', efl_src, pub_eo_file_target, + c_args : efl_c_args, dependencies: [eina, eo, m], install: true, version : meson.project_version() |